[libvirt] [PATCH 2/2] qemu: Enable ioeventfd usage for virtio-scsi controllers

Martin Kletzander mkletzan at redhat.com
Sun Jul 26 20:57:15 UTC 2015


On Sun, Jul 26, 2015 at 08:52:04PM +0200, Martin Kletzander wrote:
>Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1150484
>
>Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>---
> src/qemu/qemu_command.c  | 7 +++++++
> tests/qemuxml2argvtest.c | 3 +++

I forgot to do a 'git add' on the new file, this needs to be
considered squashed in during review (it's already squashed in my
repo):

diff --git c/tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-scsi-ioeventfd.args i/tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-scsi-ioeventfd.args
new file mode 100644
index 000000000000..1c5318935512
--- /dev/null
+++ i/tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-scsi-ioeventfd.args
@@ -0,0 +1,9 @@
+LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
+/usr/bin/qemu -S -M pc -m 214 -smp 8 -nographic -nodefconfig -nodefaults \
+-monitor unix:/tmp/test-monitor,server,nowait -no-acpi -boot c \
+-device virtio-scsi-pci,id=scsi0,ioeventfd=on,bus=pci.0,addr=0x3 \
+-usb \
+-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-scsi0-0-0-0 \
+-device scsi-disk,bus=scsi0.0,channel=0,scsi-id=0,lun=0,\
+drive=drive-scsi0-0-0-0,id=scsi0-0-0-0 \
+-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
--

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150726/b62d4556/attachment-0001.sig>


More information about the libvir-list mailing list