On Mon, 2021-10-25 at 14:13 +0100, David Woodhouse wrote: > > When you put it like that, it just seems so stunningly redundant :) > > "When we get notified that the guest HVA has been mapped, we create > our own kernel mapping of the same page. When we are notifed that the > guest HVA gets unmapped, we tear down our kernel mapping of it." Except, of course, that the kernel mapping can be used from *anywhere* and not just a from thread belonging to the VM. Like when irqfd_inject() invokes kvm_set_irq() from a work queue, which is *obviously* oopsing once I fix up the other minor issues in the patch I sent out last night.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature