From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzHAI-0003vM-9S for qemu-devel@nongnu.org; Tue, 06 Apr 2010 18:22:34 -0400 Received: from [140.186.70.92] (port=39683 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzHAH-0003uP-37 for qemu-devel@nongnu.org; Tue, 06 Apr 2010 18:22:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzHAF-0005FU-UF for qemu-devel@nongnu.org; Tue, 06 Apr 2010 18:22:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11640) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzHAF-0005FO-Ij for qemu-devel@nongnu.org; Tue, 06 Apr 2010 18:22:31 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o36MMUkG014230 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 6 Apr 2010 18:22:31 -0400 Received: from blackpad.lan.raisama.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o36MMBk2007949 for ; Tue, 6 Apr 2010 18:22:13 -0400 From: Eduardo Habkost Date: Tue, 6 Apr 2010 19:22:05 -0300 Message-Id: <1270592528-23371-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] fix network booting when using "-device" instead of "-net nic" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This series fixes the following issue: $ qemu-system-x86_64 -device rtl8139,vlan=0,id=net0,mac=52:54:00:82:41:fd,bus=pci.0,addr=0x4 -net user,vlan=0,name=hostnet0 -vnc 0.0.0.0:0 -boot n Cannot boot from non-existent NIC $ Patches 1 and 3 are just cleanups. The actual fix is on patch 2. Eduardo Habkost (3): Kill NICInfo.bootable field kill broken net_set_boot_mask() boot device validation kill unused boot_devices_bitmap variable net.c | 20 -------------------- net.h | 2 -- vl.c | 13 ++++--------- 3 files changed, 4 insertions(+), 31 deletions(-)