mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 23:25:24 +00:00
366c22f2bc
This patch adds the support of queues attribute of the driver element for vhost-user interface type. Example: <interface type='vhostuser'> <mac address='52:54:00:ee:96:6d'/> <source type='unix' path='/tmp/vhost2.sock' mode='client'/> <model type='virtio'/> <driver queues='4'/> </interface> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1207692 Signed-off-by: Maxime Leroy <maxime.leroy@6wind.com> Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
17 lines
991 B
Plaintext
17 lines
991 B
Plaintext
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 1 -nographic -nodefaults -monitor unix:/tmp/test-monitor,server,nowait \
|
|
-no-acpi -boot c -usb -hda /dev/HostVG/QEMUGuest1 \
|
|
-chardev socket,id=charnet0,path=/tmp/vhost0.sock,server \
|
|
-netdev type=vhost-user,id=hostnet0,chardev=charnet0 \
|
|
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ee:96:6b,bus=pci.0,addr=0x3 \
|
|
-chardev socket,id=charnet1,path=/tmp/vhost1.sock \
|
|
-netdev type=vhost-user,id=hostnet1,chardev=charnet1 \
|
|
-device virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:00:ee:96:6c,bus=pci.0,addr=0x4 \
|
|
-netdev socket,listen=:2015,id=hostnet2 \
|
|
-device rtl8139,netdev=hostnet2,id=net2,mac=52:54:00:95:db:c0,bus=pci.0,addr=0x5 \
|
|
-chardev socket,id=charnet3,path=/tmp/vhost2.sock \
|
|
-netdev type=vhost-user,id=hostnet3,chardev=charnet3,queues=4 \
|
|
-device virtio-net-pci,mq=on,vectors=10,netdev=hostnet3,id=net3,mac=52:54:00:ee:96:6d,\
|
|
bus=pci.0,addr=0x6
|