From: Osier Yang
Date: Fri, 5 Apr 2013 16:21:23 +0000 (+0800)
Subject: qemu: Support multiple queue virtio-scsi
X-Git-Tag: v1.0.5-rc1~226
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4bf0a9378bf337f831ca12652ac238d9e8cca75;p=thirdparty%2Flibvirt.git
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:
The corresponding QEMU command line:
-device virtio-scsi-pci,id=scsi0,num_queues=8,bus=pci.0,addr=0x3 \
---
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index cf382e8287..2bd924133d 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -2092,13 +2092,17 @@
controller. A "scsi" controller has an optional
attribute model, which is one of "auto", "buslogic",
"ibmvscsi", "lsilogic", "lsisas1068", "lsisas1078", "virtio-scsi" or
- "vmpvscsi". A "usb" controller has an optional attribute
- model, which is one of "piix3-uhci", "piix4-uhci", "ehci",
- "ich9-ehci1", "ich9-uhci1", "ich9-uhci2", "ich9-uhci3",
- "vt82c686b-uhci", "pci-ohci" or "nec-xhci". Additionally,
- since 0.10.0, if the USB bus needs to be
- explicitly disabled for the guest, model='none' may be used.
- The PowerPC64 "spapr-vio" addresses do not have an associated controller.
+ "vmpvscsi". The attribute num_queues
+ (1.0.5 (QEMU and KVM only)) specifies
+ the number of queues for the controller. For best performance, it's
+ recommended to specify a value matching the number of vCPUs. A "usb"
+ controller has an optional attribute model, which is one
+ of "piix3-uhci", "piix4-uhci", "ehci", "ich9-ehci1", "ich9-uhci1",
+ "ich9-uhci2", "ich9-uhci3", "vt82c686b-uhci", "pci-ohci" or "nec-xhci".
+ Additionally, since 0.10.0, if the USB bus
+ needs to be explicitly disabled for the guest, model='none'
+ may be used. The PowerPC64 "spapr-vio" addresses do not have an
+ associated controller.