]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'kvm-userspace-hypercall' into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 20 Jan 2025 12:03:06 +0000 (07:03 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 20 Jan 2025 12:03:06 +0000 (07:03 -0500)
Make the completion of hypercalls go through the complete_hypercall
function pointer argument, no matter if the hypercall exits to
userspace or not.  Previously, the code assumed that KVM_HC_MAP_GPA_RANGE
specifically went to userspace, and all the others did not; the new code
need not special case KVM_HC_MAP_GPA_RANGE and in fact does not care at
all whether there was an exit to userspace or not.

1  2 
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm/sev.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h

Simple merge
Simple merge
Simple merge
Simple merge