Re: Another nice lockdep print in nested SVM code

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

 



On 4/26/22 18:56, Maxim Levitsky wrote:
Yeah, in that case I can't think of anything better than triple fault.

Paolo

But do you think that it would be better to keep the vmcb12 page mapped/pinned while doing the nested run
which will both solve the problem of calling sleeping function and allow us
to remove the case of map failing on vm exit?

If I remember correctly, vmx does something like that.

Yes, it does, but that's because vmx would have to do a lot of mapping and unmapping for vmread/vmwrite on highmem (32-bit) kernels. So it maps at vmptrld and unmaps and vmclear. I wouldn't consider it an example to follow.

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