From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36225 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRnRT-0005zE-Ce for qemu-devel@nongnu.org; Sun, 12 Dec 2010 10:02:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRnRR-0004TP-Aj for qemu-devel@nongnu.org; Sun, 12 Dec 2010 10:02:26 -0500 Received: from mail-wy0-f173.google.com ([74.125.82.173]:34052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRnRR-0004SR-6F for qemu-devel@nongnu.org; Sun, 12 Dec 2010 10:02:25 -0500 Received: by mail-wy0-f173.google.com with SMTP id 36so5558823wyg.4 for ; Sun, 12 Dec 2010 07:02:24 -0800 (PST) From: Stefan Hajnoczi Date: Sun, 12 Dec 2010 15:02:08 +0000 Message-Id: <1292166128-10874-5-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1292166128-10874-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1292166128-10874-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v5 4/4] docs: Document virtio PCI -device ioeventfd=on|off List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi , "Michael S. Tsirkin" Signed-off-by: Stefan Hajnoczi --- 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