Re: [PATCH nVMX 1/2] x86: Add check for APIC access address for vmentry of L2 guests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2018-04-12 5:44 GMT+08:00 Jim Mattson <jmattson@xxxxxxxxxx>:
> On Tue, Apr 10, 2018 at 10:10 PM, Krish Sadhukhan
> <krish.sadhukhan@xxxxxxxxxx> wrote:
>> According to the sub-section titled 'VM-Execution Control Fields' in the
>> section titled 'Basic VM-Entry Checks' in Intel SDM vol. 3C, the following
>> vmentry check must be enforced:
>>
>>     If the “virtualize APIC-accesses” VM-execution control is 1, the
>>     APIC-access address must satisfy the following checks:
>>
>>         - Bits 11:0 of the address must be 0.
>>         - The address should not set any bits beyond the processor’s
>>           physical-address width.
>>
>> This patch adds the necessary check to conform to this rule. If the check
>> fails, we cause the L2 VMENTRY to fail which is what the associated unit
>> test (following patch) expects.
>>
>> Signed-off-by: Krish Sadhukhan <krish.sadhukhan@xxxxxxxxxx>
>> Reviewed-by: Mihai Carabas <mihai.carabas@xxxxxxxxxx>
>> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>

Reviewed-by: Wanpeng Li <wanpengli@xxxxxxxxxxx>

Regards,
Wanpeng Li




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux