Re: [PATCH v6 2/2] KVM: nVMX: nested TPR shadow/threshold emulation

From: Wanpeng Li
Date: Fri Aug 22 2014 - 04:42:55 EST


On Fri, Aug 22, 2014 at 10:36:07AM +0200, Paolo Bonzini wrote:
>Il 22/08/2014 01:30, Wanpeng Li ha scritto:
>> Maybe I misunderstand your comments "On real hardware you could point
>> the virtual-APIC page to an invalid address."
>> http://lists.openwall.net/linux-kernel/2014/08/07/344
>>
>
>That referred to an address that doesn't correspond to RAM. You can use
>addresses like these in a real processor.
>
>But the manual says that "if the âuse TPR shadowâ VM-execution control
>is 1, VM entry ensures that the virtual-APIC address is 4-KByte aligned"
>(24.6.8 Controls For APIC Virtualization). This is the check that is
>missing.

Ok, thanks.

Regards,
Wanpeng Li
>
>Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/