qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 05/11] monitor: Allow host_net_add/remove for all


From: Jan Kiszka
Subject: [Qemu-devel] [PATCH v2 05/11] monitor: Allow host_net_add/remove for all targets
Date: Sun, 19 Apr 2009 12:04:25 +0200
User-agent: StGIT/0.14.2

There is nothing x86-specific in host_net_add/remove, so allow them for
all targets.

Signed-off-by: Jan Kiszka <address@hidden>
---

 monitor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/monitor.c b/monitor.c
index ca2a56d..e5991ff 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1730,11 +1730,11 @@ static const mon_cmd_t mon_cmds[] = {
                                         "add drive to PCI storage controller" 
},
     { "pci_add", "sss", pci_device_hot_add, 
"pci_addr=auto|[[<domain>:]<bus>:]<slot> 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=[[<domain>:]<bus>:]<slot>", "hot remove PCI device" },
+#endif
     { "host_net_add", "ss?", net_host_device_add,
       "tap|user|socket|vde [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,






reply via email to

[Prev in Thread] Current Thread [Next in Thread]