RE: [PATCH v4 09/16] KVM: Introduce KVM_CAP_NOWAIT_ON_FAULT without implementation

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

 



On Thursday, June 15, 2023 10:56 PM, Sean Christopherson wrote:
> Because that's even further away from the truth when accounting for the fact
> that the flag controls behavior when handling are *guest* faults.  The

What do you mean by guest faults here?
I think more precisely, it's host page fault triggered by guest access (through host
GUP though), isn't it? When the flag is set, we want to have this fault to be
handled by userspace?

> memslot flag doesn't cause KVM to exit on every guest fault.  And
> USERSPACE_FAULT is far too vague; KVM constantly faults in userspace
> mappings, the flag needs to communicate that KVM *won't* do that for guest
> accesses.

I was trying to meant USERSPACE_FAULT_HANDLING.

> 
> Something like KVM_MEM_NO_USERFAULT_ON_GUEST_ACCESS?  Ridiculously

Yeah, it's kind of verbose. Was your intension for "NO_USERFAULT" to mean
bypassing the userfaultfd mechanism?




[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