Bug 658386

Summary: Patch to allow mbkernel and mbargs to be read from /etc/sysconfig/kernel
Product: [Fedora] Fedora Reporter: W. Michael Petullo <mike>
Component: grubbyAssignee: Peter Jones <pjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: bcl, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-21 05:34:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description W. Michael Petullo 2010-11-30 08:38:10 UTC
Description of problem:
New-kernel-pkg has support for mbkernel and mbargs. However, there is no way to set these variables other than by using command line options. This does not support a single kernel which boots both on bare metal and from within a hypervisor such as Xen (upcoming Xen kernels will have this capability). I have attached a patch that reads mbkernel and mbargs from /etc/sysconfig/kernel:HYPERVISOR and :HYPERVISOR_ARGS, respectively. The allows a single kernel package to be installed to boot with or without a hypervisor.

This is a requirement for the Xen Pvops Dom0 feature that will be proposed for Fedora 15 (http://fedoraproject.org/wiki/Features/XenPvopsDom0).

Version-Release number of selected component (if applicable):
Git d3ca5734c2ca2f3dce2591d06ed609b9bfee756a

Comment 1 W. Michael Petullo 2010-12-21 05:34:23 UTC
I'm not sure why this was filed twice.

*** This bug has been marked as a duplicate of bug 658387 ***