Re: [patch 0/3] VMX: configure posted interrupt descriptor when assigning device (v5)

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

 



On 25/05/21 15:41, Marcelo Tosatti wrote:
Configuration of the posted interrupt descriptor is incorrect when devices
are hotplugged to the guest (and vcpus are halted).

See patch 3 for details.

---

v5: use KVM_REQ_UNBLOCK instead of kvm_check_block callback (Paolo / Peter Xu)

v4: remove NULL assignments from kvm_x86_ops (Peter Xu)
     check for return value of ->start_assignment directly (Peter Xu)

v3: improved comments (Sean)
     use kvm_vcpu_wake_up (Sean)
     drop device_count from start_assignment function (Peter Xu)

v2: rather than using a potentially racy IPI (vs vcpu->cpu switches),
     kick the vcpus when assigning a device and let the blocked per-CPU
     list manipulation happen locally at ->pre_block and ->post_block
     (Sean Christopherson).




Queued, thanks.

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