* [Qemu-devel] [PATCH] Remove debug message printed when you use -initrd
@ 2009-04-03 20:14 Richard W.M. Jones
2009-04-03 20:18 ` Anthony Liguori
0 siblings, 1 reply; 3+ messages in thread
From: Richard W.M. Jones @ 2009-04-03 20:14 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
I wonder if we could remove this annoying debug message, which is
printed unconditionally whenever someone uses the -initrd command line
option.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
[-- Attachment #2: qemu-no-initrd-message.patch --]
[-- Type: text/plain, Size: 530 bytes --]
Index: hw/pc.c
===================================================================
--- hw/pc.c (revision 6970)
+++ hw/pc.c (working copy)
@@ -649,9 +649,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);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] Remove debug message printed when you use -initrd
2009-04-03 20:14 [Qemu-devel] [PATCH] Remove debug message printed when you use -initrd Richard W.M. Jones
@ 2009-04-03 20:18 ` Anthony Liguori
2009-04-03 20:25 ` Richard W.M. Jones
0 siblings, 1 reply; 3+ messages in thread
From: Anthony Liguori @ 2009-04-03 20:18 UTC (permalink / raw)
To: qemu-devel
Richard W.M. Jones wrote:
> I wonder if we could remove this annoying debug message, which is
> printed unconditionally whenever someone uses the -initrd command line
> option.
>
> Rich.
>
Needs a Signed-off-by.
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] Remove debug message printed when you use -initrd
2009-04-03 20:18 ` Anthony Liguori
@ 2009-04-03 20:25 ` Richard W.M. Jones
0 siblings, 0 replies; 3+ messages in thread
From: Richard W.M. Jones @ 2009-04-03 20:25 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 638 bytes --]
On Fri, Apr 03, 2009 at 03:18:43PM -0500, Anthony Liguori wrote:
> Richard W.M. Jones wrote:
>> I wonder if we could remove this annoying debug message, which is
>> printed unconditionally whenever someone uses the -initrd command line
>> option.
>>
>> Rich.
>>
>
> Needs a Signed-off-by.
I always forget it! Is this OK?
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Rich.
--
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
[-- Attachment #2: qemu-no-initrd-message.patch --]
[-- Type: text/plain, Size: 530 bytes --]
Index: hw/pc.c
===================================================================
--- hw/pc.c (revision 6970)
+++ hw/pc.c (working copy)
@@ -649,9 +649,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);
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-03 20:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-03 20:14 [Qemu-devel] [PATCH] Remove debug message printed when you use -initrd Richard W.M. Jones
2009-04-03 20:18 ` Anthony Liguori
2009-04-03 20:25 ` Richard W.M. Jones
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).