From patchwork Wed Nov 17 16:19:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 71584 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A71D4B71AB for ; Thu, 18 Nov 2010 03:26:12 +1100 (EST) Received: from localhost ([127.0.0.1]:35455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIkpf-0004B3-B3 for incoming@patchwork.ozlabs.org; Wed, 17 Nov 2010 11:26:03 -0500 Received: from [140.186.70.92] (port=36952 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIkja-00016d-CO for qemu-devel@nongnu.org; Wed, 17 Nov 2010 11:19:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIkjY-0007Fb-GE for qemu-devel@nongnu.org; Wed, 17 Nov 2010 11:19:46 -0500 Received: from mtagate7.uk.ibm.com ([194.196.100.167]:36842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIkjY-0007FH-8o for qemu-devel@nongnu.org; Wed, 17 Nov 2010 11:19:44 -0500 Received: from d06nrmr1307.portsmouth.uk.ibm.com (d06nrmr1307.portsmouth.uk.ibm.com [9.149.38.129]) by mtagate7.uk.ibm.com (8.13.1/8.13.1) with ESMTP id oAHGJhsH023841 for ; Wed, 17 Nov 2010 16:19:43 GMT Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1307.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oAHGJfAu3629244 for ; Wed, 17 Nov 2010 16:19:42 GMT Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oAHGJgsE003078 for ; Wed, 17 Nov 2010 09:19:42 -0700 Received: from stefan-thinkpad.manchester-maybrook.uk.ibm.com (dyn-9-174-219-27.manchester-maybrook.uk.ibm.com [9.174.219.27]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id oAHGJYxh002822; Wed, 17 Nov 2010 09:19:41 -0700 From: Stefan Hajnoczi To: Date: Wed, 17 Nov 2010 16:19:29 +0000 Message-Id: <1290010769-11217-5-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1290010769-11217-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1290010769-11217-1-git-send-email-stefanha@linux.vnet.ibm.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: Stefan Hajnoczi , "Michael S. Tsirkin" Subject: [Qemu-devel] [PATCH v4 4/4] docs: Document virtio PCI -device ioeventfd=on|off X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Stefan Hajnoczi --- docs/qdev-device-use.txt | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/qdev-device-use.txt b/docs/qdev-device-use.txt index f252c8e..85feda7 100644 --- a/docs/qdev-device-use.txt +++ b/docs/qdev-device-use.txt @@ -97,15 +97,17 @@ 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. * if=pflash, if=mtd, if=sd, if=xen are not yet available with -device - For USB devices, the old way is actually different: -usbdevice disk:format=FMT:FILENAME @@ -240,6 +242,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.