projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
qemu: net/drive add/remove tweaks (Marcelo Tosatti)
[qemu]
/
net.c
diff --git
a/net.c
b/net.c
index
6edeee8
..
c581dcc
100644
(file)
--- a/
net.c
+++ b/
net.c
@@
-1597,7
+1597,7
@@
int net_client_init(const char *device, const char *p)
name = NULL;
nb_nics++;
vlan->nb_guest_devs++;
- ret = 0;
+ ret = idx;
} else
if (!strcmp(device, "none")) {
/* does nothing. It is needed to signal that no network cards