-
- Downloads
KVM: Add kvm_arch_sync_events to sync with asynchronize events
kvm_arch_sync_events is introduced to quiet down all other events may happen contemporary with VM destroy process, like IRQ handler and work struct for assigned device. For kvm_arch_sync_events is called at the very beginning of kvm_destroy_vm(), so the state of KVM here is legal and can provide a environment to quiet down other events. Signed-off-by:Sheng Yang <sheng@linux.intel.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
Showing
- arch/ia64/kvm/kvm-ia64.c 4 additions, 0 deletionsarch/ia64/kvm/kvm-ia64.c
- arch/powerpc/kvm/powerpc.c 4 additions, 0 deletionsarch/powerpc/kvm/powerpc.c
- arch/s390/kvm/kvm-s390.c 4 additions, 0 deletionsarch/s390/kvm/kvm-s390.c
- arch/x86/kvm/x86.c 4 additions, 0 deletionsarch/x86/kvm/x86.c
- include/linux/kvm_host.h 1 addition, 0 deletionsinclude/linux/kvm_host.h
- virt/kvm/kvm_main.c 1 addition, 0 deletionsvirt/kvm/kvm_main.c
Loading
Please register or sign in to comment