mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00: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:
@@ -699,7 +699,7 @@ static int tap_win32_init(VLANState *vlan, const char *model,
|
||||
return 0;
|
||||
}
|
||||
|
||||
int net_init_tap(QemuOpts *opts, Monitor *mon, const char *name, VLANState *vlan)
|
||||
int net_init_tap(QemuOpts *opts, const char *name, VLANState *vlan)
|
||||
{
|
||||
const char *ifname;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user