Skip to contentSkip to conversation

Resend patch to remove -initrd debug message

PATCH In review Richard W.M. Jones 1 participant 2 messages Apr 25, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Resend patch to remove -initrd debug message

This just removes an unnecessary debug message which is printed whenever you use the -initrd option. The only change since previous posting is I rebased it to the latest qemu SVN.

Rich.

Signature · 4 lines
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
pc.c +0 -3
Index: hw/pc.c
===================================================================
@@ -682,9 +682,6 @@
 	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 lore raw
Quoted 1 line · Richard W.M. Jones

[...] I rebased it to the latest qemu SVN.

Ooops - just checked and it also applies against qemu git.

Rich.

Signature · 4 lines
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/