]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/virtio-net.c
Merge remote branch 'mst/for_anthony' into staging
[mirror_qemu.git] / hw / virtio-net.c
index 58819612bec0e376f205799c8f3ac3b431cde49c..ec1bf8dda79e758ec1690d68e7a4289a665ea476 100644 (file)
@@ -1054,6 +1054,8 @@ VirtIODevice *virtio_net_init(DeviceState *dev, NICConf *conf,
                     virtio_net_save, virtio_net_load, n);
     n->vmstate = qemu_add_vm_change_state_handler(virtio_net_vmstate_change, n);
 
+    add_boot_device_path(conf->bootindex, dev, "/ethernet-phy@0");
+
     return &n->vdev;
 }