
On Thu, Nov 17, 2011 at 06:50:57AM -0700, Eric Blake wrote:
On 11/17/2011 04:54 AM, Philipp Hahn wrote:
Hello Eric,
Am Dienstag 15 November 2011 22:33:20 schrieb Eric Blake:
Is there a way to select which ROM image qemu uses from the qemu command line?
The file names are explicitly added to the qemu command-line: <qemu:commandline> <qemu:arg value='-option-rom'/> <qemu:arg value='/usr/share/kvm/pxe-virtio.bin'/> </qemu:commandline>
So we definitely need to expose this in the XML; we already have os/bios, so perhaps this would be the best location:
<domain ...> <os> <bios useserial='yes'> <rom>/usr/share/kvm/pxe-virtio.bin</rom> </bios> </os> ...
I wouldn't bother with that nesting - just put it directly inside <os>. Several other things in there are all associated with the bios. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|