Re: [PATCH 1/1 v2] KVM: MMU: Optimize guest page table walk

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

 



On 04/26/2011 06:13 PM, Takuya Yoshikawa wrote:
>  Please post a simple patch that uses two get_user()s for that case
>  (64-bit pte on 32-bit host).  Then work with the x86 tree to see if
>  they'll accept 64-bit get_user(), and once they do, we can go back to a
>  simple get_user() again.
>
>  btw, I think we can use __get_user() here since the address must have
>  been already validated.

Yes, I thought that at first.

But don't we need to care KVM's address translation bugs?

It's a pity to do a runtime check when we can do a setup time check instead. So let's review the setup code and then use __get_user().

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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