From ae82d3242d9db904f8ab81a5c7d796ae2eb46f04 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 25 Mar 2010 17:22:40 +0100 Subject: monitor: New commands netdev_add, netdev_del Monitor commands to go with -netdev. Signed-off-by: Markus Armbruster Signed-off-by: Luiz Capitulino --- net.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net.h') diff --git a/net.h b/net.h index 20be8d7..9f3c82f 100644 --- a/net.h +++ b/net.h @@ -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" -- cgit v1.1