]> git.proxmox.com Git - qemu.git/commitdiff
docs: Document virtio PCI -device ioeventfd=on|off
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 17 Dec 2010 12:01:52 +0000 (12:01 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jan 2011 12:44:16 +0000 (14:44 +0200)
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
docs/qdev-device-use.txt

index f252c8e3bcd1afdd26b10d1087b164cfd6ba00c5..f2f9b757a568a94d5656e3964b7f4ae51a00a51e 100644 (file)
@@ -97,10 +97,13 @@ The -device argument differs in detail for each kind of drive:
 
 * if=virtio
 
-  -device virtio-blk-pci,drive=DRIVE-ID,class=C,vectors=V
+  -device virtio-blk-pci,drive=DRIVE-ID,class=C,vectors=V,ioeventfd=IOEVENTFD
 
   This lets you control PCI device class and MSI-X vectors.
 
+  IOEVENTFD controls whether or not ioeventfd is used for virtqueue notify.  It
+  can be set to on (default) or off.
+
   As for all PCI devices, you can add bus=PCI-BUS,addr=DEVFN to
   control the PCI device address.
 
@@ -240,6 +243,9 @@ For PCI devices, you can add bus=PCI-BUS,addr=DEVFN to control the PCI
 device address, as usual.  The old -net nic provides parameter addr
 for that, it is silently ignored when the NIC is not a PCI device.
 
+For virtio-net-pci, you can control whether or not ioeventfd is used for
+virtqueue notify by setting ioeventfd= to on or off (default).
+
 -net nic accepts vectors=V for all models, but it's silently ignored
 except for virtio-net-pci (model=virtio).  With -device, only devices
 that support it accept it.