diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-03-25 17:22:40 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-18 23:55:16 +0200 |
commit | ae82d3242d9db904f8ab81a5c7d796ae2eb46f04 (patch) | |
tree | 11590aa8680b6bcd349d5981e34d8162fecd6f33 /net.h | |
parent | 5124eb5927d4d90adc5640e5d36a589bfadd1828 (diff) | |
download | qemu-ae82d3242d9db904f8ab81a5c7d796ae2eb46f04.zip qemu-ae82d3242d9db904f8ab81a5c7d796ae2eb46f04.tar.gz qemu-ae82d3242d9db904f8ab81a5c7d796ae2eb46f04.tar.bz2 |
monitor: New commands netdev_add, netdev_del
Monitor commands to go with -netdev.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -164,6 +164,8 @@ void net_check_clients(void); void net_cleanup(void); void net_host_device_add(Monitor *mon, const QDict *qdict); void net_host_device_remove(Monitor *mon, const QDict *qdict); +int do_netdev_add(Monitor *mon, const QDict *qdict, QObject **ret_data); +int do_netdev_del(Monitor *mon, const QDict *qdict, QObject **ret_data); #define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" #define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" |