From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: qemu-devel@nongnu.org
Cc: "Alexey Kardashevskiy" <aik@ozlabs.ru>,
"Paolo Bonzini" <pbonzini@redhat.com>,
qemu-ppc@nongnu.org, "Alexander Graf" <agraf@suse.de>,
"Andreas Färber" <afaerber@suse.de>
Subject: [Qemu-devel] [PATCH v3 2/5] spapr-llan: add to boot device list
Date: Tue, 10 Dec 2013 18:32:34 +1100 [thread overview]
Message-ID: <1386660757-7505-3-git-send-email-aik@ozlabs.ru> (raw)
In-Reply-To: <1386660757-7505-1-git-send-email-aik@ozlabs.ru>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
hw/net/spapr_llan.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/net/spapr_llan.c b/hw/net/spapr_llan.c
index 1bd6f50..229de00 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;
}
--
1.8.4.rc4
next prev parent reply other threads:[~2013-12-10 7:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-10 7:32 [Qemu-devel] [PATCH v3 0/5] spapr: add bootindex support Alexey Kardashevskiy
2013-12-10 7:32 ` [Qemu-devel] [PATCH v3 1/5] boot: extend get_boot_devices_list() to ignore suffixes Alexey Kardashevskiy
2013-12-10 9:21 ` Paolo Bonzini
2013-12-11 3:56 ` Alexey Kardashevskiy
2013-12-10 7:32 ` Alexey Kardashevskiy [this message]
2013-12-10 7:32 ` [Qemu-devel] [PATCH v3 3/5] spapr-vio: fix firmware names Alexey Kardashevskiy
2013-12-10 7:32 ` [Qemu-devel] [PATCH v3 4/5] qdev: introduce get_fw_dev_path() callback Alexey Kardashevskiy
2013-12-10 7:32 ` [Qemu-devel] [PATCH v3 5/5] spapr: define interface to fix device pathname Alexey Kardashevskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1386660757-7505-3-git-send-email-aik@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=afaerber@suse.de \
--cc=agraf@suse.de \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).