aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-06-24 12:24:19 -0400
committerAvi Kivity <avi@redhat.com>2012-06-25 05:37:14 -0400
commit5eadf916dfa04c3c51397dbcb803ce8735bf191a (patch)
tree726d1078e1c49b64456fa511507529d7b994e3af
parent9e40b67bf2bfaa40b28354c501a72fd001a1397a (diff)
KVM: document lapic regs field
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--arch/x86/kvm/lapic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kvm/lapic.h b/arch/x86/kvm/lapic.h
index 6f4ce2575d09..d29da25ea525 100644
--- a/arch/x86/kvm/lapic.h
+++ b/arch/x86/kvm/lapic.h
@@ -13,6 +13,11 @@ struct kvm_lapic {
13 u32 divide_count; 13 u32 divide_count;
14 struct kvm_vcpu *vcpu; 14 struct kvm_vcpu *vcpu;
15 bool irr_pending; 15 bool irr_pending;
16 /**
17 * APIC register page. The layout matches the register layout seen by
18 * the guest 1:1, because it is accessed by the vmx microcode.
19 * Note: Only one register, the TPR, is used by the microcode.
20 */
16 void *regs; 21 void *regs;
17 gpa_t vapic_addr; 22 gpa_t vapic_addr;
18 struct page *vapic_page; 23 struct page *vapic_page;