From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=39711 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOuoc-0006Jz-7k for qemu-devel@nongnu.org; Wed, 16 Jun 2010 11:46:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOuoZ-0004SP-MA for qemu-devel@nongnu.org; Wed, 16 Jun 2010 11:46:10 -0400 Received: from mtagate2.de.ibm.com ([195.212.17.162]:41358) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOuoZ-0004Rx-Bc for qemu-devel@nongnu.org; Wed, 16 Jun 2010 11:46:07 -0400 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.13.1/8.13.1) with ESMTP id o5GFk65m025480 for ; Wed, 16 Jun 2010 15:46:06 GMT Received: from d12av04.megacenter.de.ibm.com (d12av04.megacenter.de.ibm.com [9.149.165.229]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o5GFk6Sn1302618 for ; Wed, 16 Jun 2010 17:46:06 +0200 Received: from d12av04.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av04.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o5GFk6CA017216 for ; Wed, 16 Jun 2010 17:46:06 +0200 From: Stefan Hajnoczi Date: Wed, 16 Jun 2010 16:45:57 +0100 Message-Id: <1276703160-7894-8-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1276703160-7894-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1276703160-7894-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [CFR 7/10] qmp: netdev_add command List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Markus Armbruster , Luiz Capitulino netdev_add ---------- Add host network device. Arguments: - "type": the device type, "tap", "user", ... (json-string) - "id": the device's ID, must be unique (json-string) - device options Example: -> { "execute": "netdev_add", "arguments": { "type": "user", "id": "netdev1" } } <- { "return": {} } Note: The supported device options are the same ones supported by the '-net' command-line argument, which are listed in the '-help' output or QEMU's manual