Bug 811235 - RFE: Add support for setting BIOS path with virt-install -boot arg (for WHQL testing)
Summary: RFE: Add support for setting BIOS path with virt-install -boot arg (for WHQL ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: python-virtinst
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: virt-mgr-maint
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 811227
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-10 14:00 UTC by Daniel Berrangé
Modified: 2012-07-24 19:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-24 19:20:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Daniel Berrangé 2012-04-10 14:00:07 UTC
Description of problem:
To support WHQL testing it is necessary to specify a custom BIOS for KVM. This can be done using the <loader> XML element to libvirt. The existing '-boot' arg to virt-install has support for many XML elements, but not <loader>.

Version-Release number of selected component (if applicable):
python-virtinst-0.600.0-8.el6

How reproducible:
Always

Steps to Reproduce:
1. virt-install --boot loader=/usr/share/seabios/bios.bin
2. virsh dumpxml GUESTNAME | xpath /domain/os/loader
3. virsh dumpxml --inactive GUESTNAME | xpath /domain/os/loader

Actual results:
ERROR    Unknown options ['loader']

Expected results:
[root@lettuce ~]# virsh dumpxml  demo | xpath /domain/os/loader
Found 1 nodes:
-- NODE --
<loader>/usr/share/seabios/bios.bin</loader>
[root@lettuce ~]# virsh dumpxml --inactive demo | xpath /domain/os/loader
Found 1 nodes:
-- NODE --
<loader>/usr/share/seabios/bios.bin</loader>


Additional info:

Comment 1 Daniel Berrangé 2012-04-10 14:03:33 UTC
Upstream patch:

https://www.redhat.com/archives/virt-tools-list/2012-April/msg00054.html

Comment 2 Cole Robinson 2012-04-16 14:25:03 UTC
Upstream commit:

http://git.fedorahosted.org/git?p=python-virtinst.git;a=commit;h=6a2990c117747cea66a10096ca04dec3fcbbb568

But does anyone actually need this? No one chimed in on the internal thread about needing virt-install support.

Comment 3 Cole Robinson 2012-04-25 16:36:33 UTC
Deferring to 6.4 since I don't think this is a requirement for 6.3


Note You need to log in before you can comment on or make changes to this bug.