Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 811235

Summary: RFE: Add support for setting BIOS path with virt-install -boot arg (for WHQL testing)
Product: Red Hat Enterprise Linux 6 Reporter: Daniel Berrangé <berrange>
Component: python-virtinstAssignee: virt-mgr-maint
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: dallan, mzhan, rwu, yupzhang, zpeng
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-24 19:20:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 811227    
Bug Blocks:    

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