qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] VMDK: Remove debug message
@ 2008-08-16 16:09 Hervé Poussineau
  2008-08-17  1:45 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Hervé Poussineau @ 2008-08-16 16:09 UTC (permalink / raw)
  To: qemu-devel

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

Hi,

vmdk block backend contains a debug message printed to stderr each time
it opens a disk.
Attached patch removes it.

Hervé

[-- Attachment #2: vmdk.diff --]
[-- Type: text/plain, Size: 435 bytes --]

Index: block-vmdk.c
===================================================================
--- block-vmdk.c	(revision 5013)
+++ block-vmdk.c	(working copy)
@@ -376,7 +376,6 @@
     if (parent_open)
         // Parent must be opened as RO.
         flags = BDRV_O_RDONLY;
-    fprintf(stderr, "(VMDK) image open: flags=0x%x filename=%s\n", flags, bs->filename);
 
     ret = bdrv_file_open(&s->hd, filename, flags);
     if (ret < 0)

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

* Re: [Qemu-devel] [PATCH] VMDK: Remove debug message
  2008-08-16 16:09 [Qemu-devel] [PATCH] VMDK: Remove debug message Hervé Poussineau
@ 2008-08-17  1:45 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2008-08-17  1:45 UTC (permalink / raw)
  To: qemu-devel

On Sat, Aug 16, 2008 at 06:09:55PM +0200, Hervé Poussineau wrote:
> Hi,
> 
> vmdk block backend contains a debug message printed to stderr each time
> it opens a disk.
> Attached patch removes it.

Applied, thanks.

> Hervé

> Index: block-vmdk.c
> ===================================================================
> --- block-vmdk.c	(revision 5013)
> +++ block-vmdk.c	(working copy)
> @@ -376,7 +376,6 @@
>      if (parent_open)
>          // Parent must be opened as RO.
>          flags = BDRV_O_RDONLY;
> -    fprintf(stderr, "(VMDK) image open: flags=0x%x filename=%s\n", flags, bs->filename);
>  
>      ret = bdrv_file_open(&s->hd, filename, flags);
>      if (ret < 0)


-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

end of thread, other threads:[~2008-08-17  1:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-16 16:09 [Qemu-devel] [PATCH] VMDK: Remove debug message Hervé Poussineau
2008-08-17  1:45 ` Aurelien Jarno

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).