diff options
author | Andrey Smetanin <asmetanin@virtuozzo.com> | 2015-11-10 07:36:35 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-11-25 11:24:22 -0500 |
commit | db3975717ac5e2c2761bae7b90c4f2e0abb5ef22 (patch) | |
tree | 4252bea2d4fafcd11b680a4ae77f8dd9731a705b /arch/x86/include | |
parent | 5c919412fe61c35947816fdbd5f7bd09fe0dd073 (diff) |
kvm/x86: Hyper-V kvm exit
A new vcpu exit is introduced to notify the userspace of the
changes in Hyper-V SynIC configuration triggered by guest writing to the
corresponding MSRs.
Changes v4:
* exit into userspace only if guest writes into SynIC MSR's
Changes v3:
* added KVM_EXIT_HYPERV types and structs notes into docs
Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com>
Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Gleb Natapov <gleb@kernel.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Roman Kagan <rkagan@virtuozzo.com>
CC: Denis V. Lunev <den@openvz.org>
CC: qemu-devel@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index bab47b61d2b0..f608e170ba3d 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -393,6 +393,7 @@ struct kvm_vcpu_hv { | |||
393 | u64 hv_vapic; | 393 | u64 hv_vapic; |
394 | s64 runtime_offset; | 394 | s64 runtime_offset; |
395 | struct kvm_vcpu_hv_synic synic; | 395 | struct kvm_vcpu_hv_synic synic; |
396 | struct kvm_hyperv_exit exit; | ||
396 | }; | 397 | }; |
397 | 398 | ||
398 | struct kvm_vcpu_arch { | 399 | struct kvm_vcpu_arch { |