From: Michael S. Tsirkin Date: Sun, 24 Jun 2012 16:24:19 +0000 (+0300) Subject: KVM: document lapic regs field X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5eadf916dfa04c3c51397dbcb803ce8735bf191a;p=linux-beck.git KVM: document lapic regs field Signed-off-by: Michael S. Tsirkin Signed-off-by: Avi Kivity --- 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 { u32 divide_count; struct kvm_vcpu *vcpu; bool irr_pending; + /** + * APIC register page. The layout matches the register layout seen by + * the guest 1:1, because it is accessed by the vmx microcode. + * Note: Only one register, the TPR, is used by the microcode. + */ void *regs; gpa_t vapic_addr; struct page *vapic_page;