qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RESEND second time] [PATCH] Remove initrd warning message
@ 2009-05-12  7:12 Richard W.M. Jones
  2009-05-14 16:19 ` Mark McLoughlin
  0 siblings, 1 reply; 2+ messages in thread
From: Richard W.M. Jones @ 2009-05-12  7:12 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v

[-- Attachment #2: 0001-Remove-initrd-warning-message.patch --]
[-- Type: text/plain, Size: 823 bytes --]

>From c91e49de8d66c008c0a23764c27e0b7906860c8e Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones@redhat.com>
Date: Sat, 25 Apr 2009 14:01:51 +0100
Subject: [PATCH] Remove -initrd warning message.

---
 hw/pc.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/hw/pc.c b/hw/pc.c
index 6b46427..d41aed4 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -708,9 +708,6 @@ static void load_linux(target_phys_addr_t option_rom,
 	initrd_size = get_file_size(fi);
 	initrd_addr = (initrd_max-initrd_size) & ~4095;
 
-        fprintf(stderr, "qemu: loading initrd (%#x bytes) at 0x" TARGET_FMT_plx
-                "\n", initrd_size, initrd_addr);
-
 	if (!fread_targphys_ok(initrd_addr, initrd_size, fi)) {
 	    fprintf(stderr, "qemu: read error on initial ram disk '%s'\n",
 		    initrd_filename);
-- 
1.6.0.6


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [RESEND second time] [PATCH] Remove initrd warning message
  2009-05-12  7:12 [Qemu-devel] [RESEND second time] [PATCH] Remove initrd warning message Richard W.M. Jones
@ 2009-05-14 16:19 ` Mark McLoughlin
  0 siblings, 0 replies; 2+ messages in thread
From: Mark McLoughlin @ 2009-05-14 16:19 UTC (permalink / raw)
  To: qemu-devel; +Cc: Richard W.M. Jones

On Tue, 2009-05-12 at 08:12 +0100, Richard W.M. Jones wrote:

> -        fprintf(stderr, "qemu: loading initrd (%#x bytes) at 0x" TARGET_FMT_plx
> -                "\n", initrd_size, initrd_addr);

This should be applied.

Using Rich's excellent guestfish program, you see this:

  $> guestfish

  Welcome to guestfish, the libguestfs filesystem interactive shell for
  editing virtual machine filesystems.

  Type: 'help' for help with commands
        'quit' to quit the shell

  ><fs> add /var/lib/libvirt/images/rawhide-2009-05-12.img
  ><fs> run
  qemu: loading initrd (0x220c2e6 bytes) at 0x0000000015de3000
  ><fs> list-partitions
  /dev/sda1
  /dev/sda2

Cheers,
Mark.

[1] - http://et.redhat.com/~rjones/libguestfs/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-14 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-12  7:12 [Qemu-devel] [RESEND second time] [PATCH] Remove initrd warning message Richard W.M. Jones
2009-05-14 16:19 ` Mark McLoughlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).