Laine Stump
3801831cdf
qemu: add "romfile" support to specify device boot ROM
...
This patch addresses: https://bugzilla.redhat.com/show_bug.cgi?id=781562
Along with the "rombar" option that controls whether or not a boot rom
is made visible to the guest, qemu also has a "romfile" option that
allows specifying a binary file to present as the ROM BIOS of any
emulated or passthrough PCI device. This patch adds support for
specifying romfile to both passthrough PCI devices, and emulated
network devices that attach to the guest's PCI bus (just about
everything other than ne2k_isa).
One example of the usefulness of this option is described in the
bugzilla report: 82576 sriov network adapters don't provide a ROM BIOS
for the cards virtual functions (VF), but an image of such a ROM is
available, and with this ROM visible to the guest, it can PXE boot.
In libvirt's xml, the new option is configured like this:
<hostdev>
...
<rom file='/etc/fake/boot.bin'/>
...
</hostdev
(similarly for <interface>).
2012-01-30 12:30:35 -05:00
..
2011-05-05 13:47:40 -06:00
2011-02-21 14:46:23 +01:00
2009-09-21 14:41:47 +01:00
2011-10-28 10:27:15 +01:00
2012-01-30 12:30:35 -05:00
2010-10-12 11:26:52 +01:00
2006-01-23 22:55:41 +00:00
2010-10-27 16:29:25 -06:00
2011-04-01 16:03:11 -06:00
2011-09-14 11:36:10 +08:00
2012-01-10 09:47:47 +01:00
2008-04-23 17:08:31 +00:00
2011-10-28 10:11:16 +01:00
2005-12-21 16:59:34 +00:00
2010-10-27 15:01:45 +11:00
2011-04-01 16:03:11 -06:00
2008-04-23 17:08:31 +00:00
2009-11-06 16:05:18 +01:00
2010-10-27 15:01:45 +11:00
2011-02-09 12:29:29 -07:00
2010-11-10 13:16:37 +01:00
2010-12-21 20:55:10 +11:00
2011-01-05 18:07:30 +11:00
2010-11-30 02:22:38 +11:00
2010-10-27 15:01:45 +11:00
2010-10-27 15:01:45 +11:00
2008-04-23 17:08:31 +00:00
2010-12-21 20:55:10 +11:00
2011-08-26 17:52:55 +02:00
2011-11-01 18:45:42 +01:00
2011-08-26 17:52:55 +02:00
2011-10-04 14:15:09 +01:00
2011-07-15 13:19:41 -06:00
2011-12-19 14:19:12 -07:00
2008-04-23 17:08:31 +00:00
2009-11-16 22:42:13 +01:00
2011-07-15 13:19:41 -06:00
2011-10-29 19:50:48 +02:00
2011-07-15 13:19:41 -06:00
2011-07-15 13:19:41 -06:00
2009-09-22 12:55:39 +02:00
2008-04-28 08:29:35 +00:00
2010-07-10 22:47:00 +10:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2011-11-30 10:12:30 +00:00
2012-01-30 12:30:35 -05:00
2012-01-11 13:10:21 -07:00
2011-12-07 18:42:08 +08:00
2012-01-11 06:42:37 -05:00
2011-10-28 11:34:17 -06:00
2011-09-05 07:03:04 -06:00
2011-12-19 16:33:42 +01:00
2011-04-01 16:03:11 -06:00
2009-12-03 15:27:24 +01:00
2011-03-28 10:40:24 +08:00
2010-11-12 19:47:20 +01:00
2010-11-12 19:47:20 +01:00
2011-10-06 16:50:38 +02:00
2011-03-31 14:36:19 -06:00
2011-06-06 10:45:59 +02:00
2011-08-26 17:52:55 +02:00
2011-02-18 08:59:51 +01:00
2011-04-01 16:03:11 -06:00
2009-04-02 12:01:11 +00:00
2009-09-22 12:55:39 +02:00
2009-07-16 15:06:42 +02:00
2011-10-28 10:11:16 +01:00
2009-04-15 20:42:50 +00:00
2011-10-28 10:11:16 +01:00
2009-04-15 20:42:50 +00:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2011-10-28 10:11:16 +01:00
2008-04-23 17:08:31 +00:00
2011-10-28 10:11:16 +01:00
2008-04-23 17:08:31 +00:00
2011-10-28 10:11:16 +01:00
2009-04-15 20:42:50 +00:00
2011-10-28 10:07:45 +01:00
2006-02-09 17:45:11 +00:00
2011-06-28 18:19:00 +01:00
2011-04-01 16:03:11 -06:00
2006-02-09 17:45:11 +00:00
2008-04-23 17:08:31 +00:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:07:45 +01:00
2011-08-12 07:35:19 -06:00
2012-01-07 12:18:06 +08:00
2009-07-29 09:04:21 +01:00
2011-10-28 10:11:16 +01:00
2006-01-23 13:24:07 +00:00
2011-01-28 08:44:05 -07:00
2011-02-09 12:29:29 -07:00
2008-04-23 17:08:31 +00:00
2009-11-06 16:05:18 +01:00
2011-08-12 13:54:10 +01:00
2011-01-17 16:55:41 +08:00
2009-12-08 16:09:33 +01:00
2011-10-28 10:07:45 +01:00
2010-09-17 00:41:08 +10:00
2011-10-28 10:11:16 +01:00
2010-12-02 16:00:47 -07:00
2011-05-11 19:18:38 +08:00
2011-05-11 08:18:04 -06:00
2011-05-11 19:18:38 +08:00
2010-10-12 11:26:52 +01:00
2011-07-12 17:10:33 +01:00
2011-10-19 09:14:34 +01:00
2011-01-11 07:33:15 +11:00
2011-04-01 16:03:11 -06:00
2010-11-12 19:47:20 +01:00