mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
60d5666f7d
commit
42dcc547e1
15 changed files with 27 additions and 43 deletions
2
net.h
2
net.h
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue