Eduardo Habkost da1fcfda59 net: remove broken net_set_boot_mask() boot device validation
There are many problems with net_set_boot_mask():

1) It is broken when using the device model instead of "-net nic". Example:
   $ 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
   $
2) The mask was previously used to set which boot ROMs were supposed to be
   loaded, but this was changed long time ago. Now all ROM images are loaded,
   and SeaBIOS takes care of jumping to the right boot entry point depending on
   the boot settings.
3) Interpretation and validation of the boot parameter letters is done on
   the machine type code. Examples: PC accepts only a,b,c,d,n as valid boot
   device letters. mac99 accepts only a,b,c,d,e,f.

As a side-effect of this change, qemu-kvm won't abort anymore if using "-boot n"
on a machine with no network devices. Checking if the requested boot device is
valid is now a task for the BIOS or the machine-type code.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2010-04-10 02:09:55 +02:00
2010-03-30 18:24:49 +00:00
2010-04-05 19:57:40 +01:00
2010-01-13 17:14:16 -06:00
2010-04-09 22:06:22 +02:00
2010-04-02 10:40:08 -05:00
2010-03-09 08:47:27 -06:00
2010-03-05 21:45:16 -06:00
2010-03-17 02:44:41 +00:00
2010-03-17 02:44:41 +00:00
2010-01-08 09:58:40 -06:00
2010-03-06 23:09:28 +01:00
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
2009-10-27 12:28:59 -05:00
2009-09-25 19:53:21 +00:00
2010-04-09 18:55:56 +02:00
2010-04-09 18:55:56 +02:00
2010-02-10 11:57:03 -06:00
2010-02-14 16:10:53 +02:00
2010-03-19 15:27:27 -05:00
2010-02-07 02:03:50 +03:00
2009-12-18 11:26:27 -06:00
2009-11-17 08:49:38 -06:00
2009-10-08 21:17:18 -05:00
2009-11-21 09:06:46 +00:00
2010-04-08 11:11:21 +02:00
2010-02-19 15:18:16 -06:00
2010-03-19 15:27:38 -05:00
2010-03-29 19:23:50 +00:00
2010-03-21 19:44:06 +00:00
2010-03-17 11:16:15 -05:00
2010-04-01 21:51:59 +02:00
2010-04-01 21:51:59 +02:00
2010-03-01 04:39:50 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-12 07:36:22 +00:00
2010-03-29 19:24:00 +00:00
2009-12-17 18:12:04 +01:00
2010-04-01 21:51:59 +02:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-02-10 12:47:58 -06:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2010-03-06 23:15:30 +01:00
2010-03-06 23:15:30 +01:00
2009-10-27 12:28:59 -05:00
2009-10-01 16:12:16 -05:00
2010-02-06 19:24:42 +01:00
2010-03-21 08:28:47 +00:00
2010-01-08 09:58:40 -06:00
2010-04-05 19:57:40 +01:00
2010-01-08 09:58:40 -06:00
2010-03-19 15:27:27 -05:00
2010-03-19 15:27:27 -05:00
2009-09-12 07:36:22 +00:00
2010-04-09 18:55:56 +02:00
2009-12-03 09:41:29 -06:00
2009-12-25 18:19:15 +00:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2010-02-03 12:36:25 -06:00
2009-10-27 12:28:59 -05:00
2010-03-18 18:41:49 +00:00
2010-03-09 11:23:00 -06:00
2010-03-28 16:42:28 +02:00
2009-10-01 16:12:16 -05:00
2010-02-23 22:36:19 +01:00
2010-03-18 20:48:19 +00:00
2010-04-01 13:56:43 -05:00
2010-03-29 19:24:00 +00:00
2010-04-03 14:26:45 +04:00
2009-11-17 08:49:38 -06:00
2009-11-17 08:49:38 -06:00
2010-02-10 13:46:17 -06:00
2009-12-03 09:41:18 -06:00
2010-01-26 15:42:01 -06:00
2009-12-03 09:41:20 -06:00
2010-01-08 16:55:03 -06:00
2009-10-01 16:12:16 -05:00
2009-11-14 01:19:12 +01:00
2009-09-13 19:38:43 +00:00
2010-03-14 22:04:50 +01:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%