Patchwork exec: Remove debugging fprintf() that slipped into qemu_ram_alloc_from_ptr()

login
register
mail settings
Submitter Stefan Hajnoczi
Date Dec. 3, 2010, 5:09 p.m.
Message ID <1291396141-25541-1-git-send-email-stefanha@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/74172/
State New
Headers show

Comments

Stefan Hajnoczi - Dec. 3, 2010, 5:09 p.m.
Remove the debugging fprintf() slipped in via the following commit:

    commit b2e0a138e77245290428a7d599a929e2e1bfe510
    Author: Michael S. Tsirkin <mst@redhat.com>
    Date:   Mon Nov 22 19:52:34 2010 +0200

        migration: stable ram block ordering

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 exec.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

diff --git a/exec.c b/exec.c
index 6c8f635..42a35e0 100644
--- a/exec.c
+++ b/exec.c
@@ -2858,7 +2858,6 @@  ram_addr_t qemu_ram_alloc_from_ptr(DeviceState *dev, const char *name,
     new_block->length = size;
 
     QLIST_INSERT_HEAD(&ram_list.blocks, new_block, next);
-    fprintf(stderr, "alloc ram %s len 0x%x\n", new_block->idstr, (int)new_block->length);
 
     ram_list.phys_dirty = qemu_realloc(ram_list.phys_dirty,
                                        last_ram_offset() >> TARGET_PAGE_BITS);