diff options
author | 2017-04-27 14:33:43 +0200 | |
---|---|---|
committer | 2017-04-27 14:36:44 +0200 | |
commit | 7a97cec26b94c909f4cbad2dc3186af3e457a522 (patch) | |
tree | ce711b80c36bb3c2828cc63b9f65187fa95e2305 /arch/x86/include/asm/kvm_emulate.h | |
parent | KVM: return if kvm_vcpu_wake_up() did wake up the VCPU (diff) | |
download | linux-dev-7a97cec26b94c909f4cbad2dc3186af3e457a522.tar.xz linux-dev-7a97cec26b94c909f4cbad2dc3186af3e457a522.zip |
KVM: mark requests that need synchronization
kvm_make_all_requests() provides a synchronization that waits until all
kicked VCPUs have acknowledged the kick. This is important for
KVM_REQ_MMU_RELOAD as it prevents freeing while lockless paging is
underway.
This patch adds the synchronization property into all requests that are
currently being used with kvm_make_all_requests() in order to preserve
the current behavior and only introduce a new framework. Removing it
from requests where it is not necessary is left for future patches.
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_emulate.h')
0 files changed, 0 insertions, 0 deletions