diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-01-17 15:51:22 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 12:35:57 -0300 |
commit | 55cd8e5a4edb8e235163ffe8264b9aaa8d7c050f (patch) | |
tree | f7d0091ead058a6c5bc427253b031374b3463b8d /arch/x86/include/asm/kvm_host.h | |
parent | 1d5103c11e32b5028262c073d56375691d51a886 (diff) | |
download | op-kernel-dev-55cd8e5a4edb8e235163ffe8264b9aaa8d7c050f.zip op-kernel-dev-55cd8e5a4edb8e235163ffe8264b9aaa8d7c050f.tar.gz |
KVM: Implement bare minimum of HYPER-V MSRs
Minimum HYPER-V implementation should have GUEST_OS_ID, HYPERCALL and
VP_INDEX MSRs.
[avi: fix build on i386]
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Vadim Rozenfeld <vrozenfe@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 93bee7a..67d19e42 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -413,6 +413,10 @@ struct kvm_arch { s64 kvmclock_offset; struct kvm_xen_hvm_config xen_hvm_config; + + /* fields used by HYPER-V emulation */ + u64 hv_guest_os_id; + u64 hv_hypercall; }; struct kvm_vm_stat { |