mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
net: net_client_init(): use error_set()
Callers are changed to use qerror_report_err() to keep their QError semantics. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-By: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
42dcc547e1
commit
4559a1dbcc
4 changed files with 50 additions and 21 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(QemuOpts *opts, int is_netdev);
|
||||
int net_client_init(QemuOpts *opts, int is_netdev, Error **errp);
|
||||
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