From patchwork Fri Feb 25 08:11:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 84518 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 AEDDAB70BA for ; Fri, 25 Feb 2011 19:13:43 +1100 (EST) Received: from localhost ([127.0.0.1]:33914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pssnt-0005Kj-5Z for incoming@patchwork.ozlabs.org; Fri, 25 Feb 2011 03:13:33 -0500 Received: from [140.186.70.92] (port=48244 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PssmE-0004Tm-Nz for qemu-devel@nongnu.org; Fri, 25 Feb 2011 03:11:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PssmD-0006eX-Fk for qemu-devel@nongnu.org; Fri, 25 Feb 2011 03:11:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PssmD-0006dv-6s for qemu-devel@nongnu.org; Fri, 25 Feb 2011 03:11:49 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p1P8BlMs013511 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 25 Feb 2011 03:11:48 -0500 Received: from dhcp-91-7.nay.redhat.com.englab.nay.redhat.com (dhcp-91-7.nay.redhat.com [10.66.91.7]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p1P8BjlN024219; Fri, 25 Feb 2011 03:11:46 -0500 To: qemu-devel@nongnu.org, mst@redhat.com From: Jason Wang Date: Fri, 25 Feb 2011 16:11:27 +0800 Message-ID: <20110225081126.6224.57164.stgit@dhcp-91-7.nay.redhat.com.englab.nay.redhat.com> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: Subject: [Qemu-devel] [PATCH] net: Add the missing option declaration of "vhostforce" 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: Jason Wang Acked-by: Michael S. Tsirkin --- net.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/net.c b/net.c index 9ba5be2..21d4443 100644 --- a/net.c +++ b/net.c @@ -1025,7 +1025,11 @@ static const struct { .name = "vhostfd", .type = QEMU_OPT_STRING, .help = "file descriptor of an already opened vhost net device", - }, + }, { + .name = "vhostforce", + .type = QEMU_OPT_BOOL, + .help = "force vhost on for non-MSIX virtio guests", + }, #endif /* _WIN32 */ { /* end of list */ } },