Re: [EXTERNAL] [PATCH] KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU

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

 



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


[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