From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwM59-0006fO-L8 for qemu-devel@nongnu.org; Tue, 21 Apr 2009 15:56:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwM58-0006eu-M6 for qemu-devel@nongnu.org; Tue, 21 Apr 2009 15:56:39 -0400 Received: from [199.232.76.173] (port=39670 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwM58-0006eh-6U for qemu-devel@nongnu.org; Tue, 21 Apr 2009 15:56:38 -0400 Received: from savannah.gnu.org ([199.232.41.3]:35687 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LwM57-00027U-SI for qemu-devel@nongnu.org; Tue, 21 Apr 2009 15:56:37 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LwM57-0007uI-Bf for qemu-devel@nongnu.org; Tue, 21 Apr 2009 19:56:37 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LwM57-0007uE-5L for qemu-devel@nongnu.org; Tue, 21 Apr 2009 19:56:37 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Tue, 21 Apr 2009 19:56:37 +0000 Subject: [Qemu-devel] [7202] monitor: Allow host_net_add/remove for all targets (Jan Kiszka) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 7202 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7202 Author: aliguori Date: 2009-04-21 19:56:36 +0000 (Tue, 21 Apr 2009) Log Message: ----------- monitor: Allow host_net_add/remove for all targets (Jan Kiszka) There is nothing x86-specific in host_net_add/remove, so allow them for all targets. Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori Modified Paths: -------------- trunk/monitor.c Modified: trunk/monitor.c =================================================================== --- trunk/monitor.c 2009-04-21 19:56:32 UTC (rev 7201) +++ trunk/monitor.c 2009-04-21 19:56:36 UTC (rev 7202) @@ -1730,11 +1730,11 @@ "add drive to PCI storage controller" }, { "pci_add", "sss", pci_device_hot_add, "pci_addr=auto|[[:]:] nic|storage [[vlan=n][,macaddr=addr][,model=type]] [file=file][,if=type][,bus=nr]...", "hot-add PCI device" }, { "pci_del", "s", pci_device_hot_remove, "pci_addr=[[:]:]", "hot remove PCI device" }, +#endif { "host_net_add", "ss?", net_host_device_add, "tap|user|socket|vde|dump [options]", "add host VLAN client" }, { "host_net_remove", "is", net_host_device_remove, "vlan_id name", "remove host VLAN client" }, -#endif { "balloon", "i", do_balloon, "target", "request VM to change it's memory allocation (in MB)" }, { "set_link", "ss", do_set_link,