Patchwork Remove debug msg related to alloc ram

login
register
mail settings
Submitter jvrao
Date Dec. 3, 2010, 12:34 a.m.
Message ID <1291336469-20804-1-git-send-email-jvrao@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/74079/
State New
Headers show

Comments

jvrao - Dec. 3, 2010, 12:34 a.m.
QEMU printing msgs like this on stat. They appear to be leftout debug.

alloc ram pc.ram len 0x40000000
alloc ram pc.bios len 0x20000
alloc ram pc.rom len 0x20000
alloc ram vga.vram len 0x800000
alloc ram 0000:00:02.0/cirrus_vga.rom len 0x10000
alloc ram 0000:00:03.0/virtio-net-pci.rom len 0x10000

Signed-off-by: Venkateswararao Jujjuri <jvrao@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);