Bug 512672 - Remove initrd warning message
Summary: Remove initrd warning message
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.5
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Eduardo Habkost
QA Contact: Lawrence Lim
URL:
Whiteboard:
Depends On:
Blocks: 512696
TreeView+ depends on / blocked
 
Reported: 2009-07-20 10:35 UTC by Richard W.M. Jones
Modified: 2014-03-26 00:59 UTC (History)
7 users (show)

Fixed In Version: kvm-83-110.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-30 07:55:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
kvm-remove-initrd-warning-message.patch (765 bytes, patch)
2009-07-20 10:35 UTC, Richard W.M. Jones
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0271 0 normal SHIPPED_LIVE Important: kvm security, bug fix and enhancement update 2010-03-29 13:19:48 UTC

Description Richard W.M. Jones 2009-07-20 10:35:03 UTC
Created attachment 354325 [details]
kvm-remove-initrd-warning-message.patch

The attached very trivial patch removes an annoying
warning message which is printed by qemu whenever the
qemu -initrd option is used.  Since libguestfs uses
this option, the message is always printed for us.

Upstream since May 2009:

http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=42fa1c2e226bd62e8df145f3509b692b65a6170c

The attached patch is the same as upstream, just
rebased against our KVM package.

I tested it using libguestfs.  It suppresses the
message as expected.

Comment 1 Richard W.M. Jones 2009-07-20 10:56:00 UTC
Here's a simple test you can use to see if this patch
has been applied:

$ guestfish alloc /tmp/test.img 10M : run

This command may print several other warning messages,
but the one the should *not* appear is:

  qemu: loading initrd (XXXX bytes) at XXXX

Comment 11 errata-xmlrpc 2010-03-30 07:55:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0271.html


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