diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2014-03-17 13:40:24 +1100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-20 02:40:13 +0100 |
commit | ad4f62d0159fa2967195d095e7b532b9497fa6b0 (patch) | |
tree | 73544c32769662d2035ca8411e94d31efe42fb04 | |
parent | 6b1566cbe372660c77ca4aa7aa0071fa30f5f930 (diff) |
spapr_llan: Add to boot device list
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r-- | hw/net/spapr_llan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/net/spapr_llan.c b/hw/net/spapr_llan.c index f6fbcb56bf..c433337b67 100644 --- a/hw/net/spapr_llan.c +++ b/hw/net/spapr_llan.c @@ -29,6 +29,7 @@ #include "hw/qdev.h" #include "hw/ppc/spapr.h" #include "hw/ppc/spapr_vio.h" +#include "sysemu/sysemu.h" #include <libfdt.h> @@ -213,6 +214,8 @@ static int spapr_vlan_init(VIOsPAPRDevice *sdev) object_get_typename(OBJECT(sdev)), sdev->qdev.id, dev); qemu_format_nic_info_str(qemu_get_queue(dev->nic), dev->nicconf.macaddr.a); + add_boot_device_path(dev->nicconf.bootindex, DEVICE(dev), ""); + return 0; } |