From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36434 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTZ0j-0005W8-Lr for qemu-devel@nongnu.org; Fri, 17 Dec 2010 07:02:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTZ0e-0000sB-6U for qemu-devel@nongnu.org; Fri, 17 Dec 2010 07:02:09 -0500 Received: from mtagate2.uk.ibm.com ([194.196.100.162]:40283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTZ0d-0000rU-Vb for qemu-devel@nongnu.org; Fri, 17 Dec 2010 07:02:04 -0500 Received: from d06nrmr1806.portsmouth.uk.ibm.com (d06nrmr1806.portsmouth.uk.ibm.com [9.149.39.193]) by mtagate2.uk.ibm.com (8.13.1/8.13.1) with ESMTP id oBHC23IZ010305 for ; Fri, 17 Dec 2010 12:02:03 GMT Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oBHC24bH2765000 for ; Fri, 17 Dec 2010 12:02:04 GMT Received: from d06av11.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oBHC22j8007502 for ; Fri, 17 Dec 2010 05:02:02 -0700 From: Stefan Hajnoczi Date: Fri, 17 Dec 2010 12:01:52 +0000 Message-Id: <1292587312-24511-5-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1292587312-24511-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1292587312-24511-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v6 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..f2f9b75 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 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. -- 1.7.2.3