projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b1566c
)
spapr_llan: Add to boot device list
author
Alexey Kardashevskiy
<aik@ozlabs.ru>
Mon, 17 Mar 2014 02:40:24 +0000
(13:40 +1100)
committer
Andreas Färber
<afaerber@suse.de>
Thu, 20 Mar 2014 01:40:13 +0000
(
02:40
+0100)
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/net/spapr_llan.c
patch
|
blob
|
history
diff --git
a/hw/net/spapr_llan.c
b/hw/net/spapr_llan.c
index f6fbcb56bf84f5f14fa31b3191368b1adabbf535..c433337b6733e7037d5117a770c5bca489349bd8 100644
(file)
--- 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;
}