Commit a66b11bfcd1b04c1c8420c6afc4b63f32ef27127
1 parent
5c8be678
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 <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7202 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
monitor.c
... | ... | @@ -1730,11 +1730,11 @@ static const mon_cmd_t mon_cmds[] = { |
1730 | 1730 | "add drive to PCI storage controller" }, |
1731 | 1731 | { "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" }, |
1732 | 1732 | { "pci_del", "s", pci_device_hot_remove, "pci_addr=[[<domain>:]<bus>:]<slot>", "hot remove PCI device" }, |
1733 | +#endif | |
1733 | 1734 | { "host_net_add", "ss?", net_host_device_add, |
1734 | 1735 | "tap|user|socket|vde|dump [options]", "add host VLAN client" }, |
1735 | 1736 | { "host_net_remove", "is", net_host_device_remove, |
1736 | 1737 | "vlan_id name", "remove host VLAN client" }, |
1737 | -#endif | |
1738 | 1738 | { "balloon", "i", do_balloon, |
1739 | 1739 | "target", "request VM to change it's memory allocation (in MB)" }, |
1740 | 1740 | { "set_link", "ss", do_set_link, | ... | ... |