From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPNTv-0000jG-ES for qemu-devel@nongnu.org; Sun, 16 Mar 2014 22:40:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPNTk-0005N0-2R for qemu-devel@nongnu.org; Sun, 16 Mar 2014 22:40:51 -0400 Received: from e23smtp09.au.ibm.com ([202.81.31.142]:45278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPNTj-0005Lx-4V for qemu-devel@nongnu.org; Sun, 16 Mar 2014 22:40:39 -0400 Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 17 Mar 2014 12:40:34 +1000 From: Alexey Kardashevskiy Date: Mon, 17 Mar 2014 13:40:24 +1100 Message-Id: <1395024027-29211-4-git-send-email-aik@ozlabs.ru> In-Reply-To: <1395024027-29211-1-git-send-email-aik@ozlabs.ru> References: <1395024027-29211-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH v7 3/6] spapr-llan: add to boot device list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, Alexander Graf , =?UTF-8?q?Andreas=20F=C3=A4rber?= Signed-off-by: Alexey Kardashevskiy --- 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 f6fbcb5..c433337 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 @@ -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