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> ... and if /bios/rom[0] is not present, then we have to figure out how to provide a sane default. Does qemu provide a -help option that says what option-rom it will use if -option-rom was not provided on the command line? Are you interested in working on patches on this front? -- Eric Blake eblake@xxxxxxxxxx +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list