summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-01-17 15:51:23 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2010-03-01 12:36:00 -0300
commit10388a07164c1512b3a3d0273b9adc230f82790e (patch)
tree1a1a5de7c0c639143fbfa4f2b01bb59bc7135882 /arch/x86/include/asm/kvm_host.h
parent55cd8e5a4edb8e235163ffe8264b9aaa8d7c050f (diff)
downloadblackbird-obmc-linux-10388a07164c1512b3a3d0273b9adc230f82790e.tar.gz
blackbird-obmc-linux-10388a07164c1512b3a3d0273b9adc230f82790e.zip
KVM: Add HYPER-V apic access MSRs
Implement HYPER-V apic MSRs. Spec defines three MSRs that speed-up access to EOI/TPR/ICR apic registers for PV guests. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 67d19e422006..a1f0b5dd7d75 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -363,6 +363,8 @@ struct kvm_vcpu_arch {
/* used for guest single stepping over the given code position */
u16 singlestep_cs;
unsigned long singlestep_rip;
+ /* fields used by HYPER-V emulation */
+ u64 hv_vapic;
};
struct kvm_mem_alias {
OpenPOWER on IntegriCloud