[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 4/4] docs: Document virtio PCI -device ioeventfd=
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH v5 4/4] docs: Document virtio PCI -device ioeventfd=on|off |
Date: |
Sun, 12 Dec 2010 15:02:08 +0000 |
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
docs/qdev-device-use.txt | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/docs/qdev-device-use.txt b/docs/qdev-device-use.txt
index f252c8e..84d0c82 100644
--- a/docs/qdev-device-use.txt
+++ b/docs/qdev-device-use.txt
@@ -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 (default) or off.
+
-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.
--
1.7.2.3
- [Qemu-devel] [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify, Stefan Hajnoczi, 2010/12/12
- [Qemu-devel] [PATCH v5 4/4] docs: Document virtio PCI -device ioeventfd=on|off,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH v5 1/4] virtio-pci: Rename bugs field to flags, Stefan Hajnoczi, 2010/12/12
- [Qemu-devel] [PATCH v5 3/4] virtio-pci: Don't use ioeventfd on old kernels, Stefan Hajnoczi, 2010/12/12
- [Qemu-devel] [PATCH v5 2/4] virtio-pci: Use ioeventfd for virtqueue notify, Stefan Hajnoczi, 2010/12/12
- [Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify, Stefan Hajnoczi, 2010/12/12
- [Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify, Michael S. Tsirkin, 2010/12/12