Revision 6eed1856 hw/qdev.c
b/hw/qdev.c | ||
---|---|---|
459 | 459 |
|
460 | 460 |
void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd) |
461 | 461 |
{ |
462 |
qdev_prop_set_macaddr(dev, "mac", nd->macaddr); |
|
462 |
qdev_prop_set_macaddr(dev, "mac", nd->macaddr.a);
|
|
463 | 463 |
if (nd->vlan) |
464 | 464 |
qdev_prop_set_vlan(dev, "vlan", nd->vlan); |
465 | 465 |
if (nd->netdev) |
Also available in: Unified diff