From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vkqab-0001oZ-1l for qemu-devel@nongnu.org; Mon, 25 Nov 2013 02:28:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VkqaS-00051S-1J for qemu-devel@nongnu.org; Mon, 25 Nov 2013 02:28:12 -0500 Received: from e23smtp08.au.ibm.com ([202.81.31.141]:34869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkqaP-00050Z-L1 for qemu-devel@nongnu.org; Mon, 25 Nov 2013 02:28:03 -0500 Received: from /spool/local by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 25 Nov 2013 17:27:53 +1000 From: Alexey Kardashevskiy Date: Mon, 25 Nov 2013 18:27:38 +1100 Message-Id: <1385364460-24332-4-git-send-email-aik@ozlabs.ru> In-Reply-To: <1385364460-24332-1-git-send-email-aik@ozlabs.ru> References: <1385364460-24332-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH 3/5] 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, Paul Mackerras , Nikunj A Dadhania 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