Skip to content

qemu-kvm/vhost: fix qemu assert triggerable by guest

Michael S. Tsirkin qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtio: change set guest notifier to per-devicehw/vhost.c hw/virtio-pci.c hw/virtio.h+57 -260 replies
2/3vhost: error codehw/vhost.c+2 -00 replies
3/3vhost: fix up irqfd supporthw/msix.c hw/msix.h hw/pci.h +1 more+95 -340 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] qemu-kvm/vhost: fix qemu assert triggerable by guest

When guest maps a vector to multiple vqs, qemu kvm triggers an assert. A simple way to test this is by supplying vectors=2 for virtio-net-pci in qemu-kvm.

The first 2 patches apply to qemu.git. The 3d does not, it has to be applied only to qemu-kvm.git.

Avi, marcelo, I think to prevent bisect errors,
the best way to apply this would be to wait
for 1st two ones to get applied on qemu.git, then
apply all three on qemu-kvm.git and then merge.

Michael S. Tsirkin (3):
virtio: change set guest notifier to per-device
vhost: error code
vhost: fix up irqfd support

 hw/msix.c       |   68 +++++++++++++++++++++++++++++++--------------
 hw/msix.h       |    4 +-
 hw/pci.h        |    3 +-
 hw/vhost.c      |   54 ++++++++++++++++++++----------------
 hw/virtio-pci.c |   83 ++++++++++++++++++++++++++++++++++++++++++++++++------
 hw/virtio.h     |    2 +-
 6 files changed, 154 insertions(+), 60 deletions(-)
Signature · 1 line
1.7.3-rc1