diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-04-12 13:20:40 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-06-04 13:49:35 -0300 |
commit | 42dcc547e1982f31d0f678e02f0aae5be570384a (patch) | |
tree | 79b4c258f03b57ea509d5a111848ea9f3ec0bb98 /net.h | |
parent | 60d5666f7d4eec6df4a3d066769009f0c1a685bf (diff) | |
download | hqemu-42dcc547e1982f31d0f678e02f0aae5be570384a.zip hqemu-42dcc547e1982f31d0f678e02f0aae5be570384a.tar.gz |
net: purge the monitor object from all init functions
The only backend that really uses it is the socket one, which calls
monitor_get_fd(). But it can use 'cur_mon' instead.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-By: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -163,7 +163,7 @@ struct HCIInfo *qemu_next_hci(void); extern const char *legacy_tftp_prefix; extern const char *legacy_bootp_filename; -int net_client_init(Monitor *mon, QemuOpts *opts, int is_netdev); +int net_client_init(QemuOpts *opts, int is_netdev); int net_client_parse(QemuOptsList *opts_list, const char *str); int net_init_clients(void); void net_check_clients(void); |