projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a -net name=foo parameter (Mark McLoughlin)
[qemu]
/
hw
/
pcnet.c
diff --git
a/hw/pcnet.c
b/hw/pcnet.c
index
5b45956
..
102166e
100644
(file)
--- a/
hw/pcnet.c
+++ b/
hw/pcnet.c
@@
-1936,7
+1936,7
@@
static void pcnet_common_init(PCNetState *d, NICInfo *nd, const char *info_str)
d->nd = nd;
if (nd && nd->vlan) {
- d->vc = qemu_new_vlan_client(nd->vlan, nd->model,
+ d->vc = qemu_new_vlan_client(nd->vlan, nd->model, nd->name,
pcnet_receive, pcnet_can_receive, d);
qemu_format_nic_info_str(d->vc, d->nd->macaddr);