Skip to content

qemu-iotests: test savevm/loadvm iothread (and make it work!)

Stefan Hajnoczi qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5virtio-pci: use ioeventfd even when KVM is disabledhw/virtio/virtio-pci.c+1 -17 replies
2/5migration: hold AioContext lock for loadvm qemu_fclose()migration/savevm.c+1 -10 replies
3/5qemu-iotests: 068: extract _qemu() functiontests/qemu-iotests/068+8 -58 replies
4/5qemu-iotests: 068: use -drive/-device instead of -hdatests/qemu-iotests/068+6 -10 replies
5/5qemu-iotests: 068: test iothread modetests/qemu-iotests/068 tests/qemu-iotests/068.out+24 -100 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchMichael S. Tsirkin
1/5R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] qemu-iotests: test savevm/loadvm iothread (and make it work!)

This series extends qemu-iotests 068 to also run with iothread enabled. Doing so was harder than expected because:

1. ioeventfd is disabled without -M accel=kvm even though it should work
2. loadvm still has an iothread bug

Instead of adding a ./check -iothread option I decided to always run the test. Kevin recently recommended this approach; the advantage is that iothread *will* always be tested iothread mode whereas people won't run ./check -iothread.

Stefan Hajnoczi (5):
virtio-pci: use ioeventfd even when KVM is disabled
migration: hold AioContext lock for loadvm qemu_fclose()
qemu-iotests: 068: extract _qemu() function
qemu-iotests: 068: use -drive/-device instead of -hda
qemu-iotests: 068: test iothread mode

 hw/virtio/virtio-pci.c     |  2 +-
 migration/savevm.c         |  2 +-
 tests/qemu-iotests/068     | 37 +++++++++++++++++++++++++------------
 tests/qemu-iotests/068.out | 11 ++++++++++-
 4 files changed, 37 insertions(+), 15 deletions(-)
Signature · 1 line
2.9.4