diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-04-20 16:50:25 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-06-04 13:49:35 -0300 |
commit | 4559a1dbcc15a10482de822e2839645a1819ef6f (patch) | |
tree | 9890da3db00eaf564e72d51526aa586a266f9143 /net.h | |
parent | 42dcc547e1982f31d0f678e02f0aae5be570384a (diff) |
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>
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(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); |