mbox series

[0/4] VMX: configure posted interrupt descriptor when assigning device (v3)

Message ID 20210510172646.930550753@redhat.com (mailing list archive)
Headers show
Series VMX: configure posted interrupt descriptor when assigning device (v3) | expand

Message

Marcelo Tosatti May 10, 2021, 5:26 p.m. UTC
Configuration of the posted interrupt descriptor is incorrect when devices
are hotplugged to the guest (and vcpus are halted).

See patch 4 for details.

---

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).