]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Support multiple queue virtio-scsi
authorOsier Yang <jyang@redhat.com>
Fri, 5 Apr 2013 16:21:23 +0000 (00:21 +0800)
committerOsier Yang <jyang@redhat.com>
Sat, 6 Apr 2013 02:08:47 +0000 (10:08 +0800)
commitd4bf0a9378bf337f831ca12652ac238d9e8cca75
tree31d89ebd91f7a8c94e6a621f7d9860bf8f6db9d3
parent5899e09e6112ff739cc4b9b9198d904fc88b698c
qemu: Support multiple queue virtio-scsi

This introduce a new attribute "num_queues" (same with the good name
QEMU uses) for virtio-scsi controller. An example of the XML:

<controller type='scsi' index='0' model='virtio-scsi' num_queues='8'/>

The corresponding QEMU command line:

-device virtio-scsi-pci,id=scsi0,num_queues=8,bus=pci.0,addr=0x3 \
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-scsi-num_queues.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-scsi-num_queues.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c