Skip to content

fix network booting when using "-device" instead of "-net nic"

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: remove NICInfo.bootable fieldnet.c net.h+0 -20 replies
2/3net: remove broken net_set_boot_mask() boot device validationnet.c net.h vl.c+1 -240 replies
3/3boot: remove unused boot_devices_bitmap variablevl.c+3 -50 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJuan Quintela
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] fix network booting when using "-device" instead of "-net nic"

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(-)