From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGU1x-0001c4-IY for qemu-devel@nongnu.org; Thu, 20 Feb 2014 08:51:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGU1i-0003lF-Jk for qemu-devel@nongnu.org; Thu, 20 Feb 2014 08:51:13 -0500 Received: from e23smtp03.au.ibm.com ([202.81.31.145]:35510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGU1h-0003kA-Pc for qemu-devel@nongnu.org; Thu, 20 Feb 2014 08:50:58 -0500 Received: from /spool/local by e23smtp03.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 20 Feb 2014 23:50:54 +1000 From: Alexey Kardashevskiy Date: Fri, 21 Feb 2014 00:50:44 +1100 Message-Id: <1392904246-15575-5-git-send-email-aik@ozlabs.ru> In-Reply-To: <1392904246-15575-1-git-send-email-aik@ozlabs.ru> References: <1392904246-15575-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH v5 4/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 , Paolo Bonzini , qemu-ppc@nongnu.org, Alexander Graf , Andreas Faerber 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 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 @@ -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