Re: [PATCH] kvm: mmu: Don't read PDPTEs when paging is not enabled

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

 



On 10/08/2018 05:01, Junaid Shahid wrote:
> On 08/09/2018 09:58 AM, Paolo Bonzini wrote:
>> On 09/08/2018 02:45, Junaid Shahid wrote:
>>> kvm should not attempt to read guest PDPTEs when CR0.PG = 0 and 
>>> CR4.PAE = 1.
>>> 
>>> Signed-off-by: Junaid Shahid <junaids@xxxxxxxxxx>
>> Do you have a testcase?
>> 
> I could write a test case to trigger this condition, but we would
> need to add some type of trace statement to this path so that the
> test can easily detect whether or not the extraneous reads have
> occurred.

Perhaps you can write a standalone test (not using kvm-unit-tests) you
can place the PDPTEs in a place where the read will cause a vmentry failure?

Paolo



[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