qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: avi@redhat.com, Anthony Liguori <anthony@codemonkey.ws>,
	qemu-devel@nongnu.org
Subject: [Qemu-devel] port io mem leak
Date: Wed, 29 Feb 2012 18:16:31 +0200	[thread overview]
Message-ID: <20120229161630.GB8661@redhat.com> (raw)

Valgrind shows a memory leak below:

==21745== 208 (112 direct, 96 indirect) bytes in 2 blocks are definitely
lost in loss record 588 of 856
==21745==    at 0x4A05FDE: malloc (vg_replace_malloc.c:236)
==21745==    by 0x24D4C5: malloc_and_trace (vl.c:2156)
==21745==    by 0x50637D2: g_malloc (in /lib64/libglib-2.0.so.0.2200.5)
==21745==    by 0x21A519: isa_register_portio_list (isa-bus.c:102)
==21745==    by 0x210DF7: ide_init_ioport (core.c:1993)
==21745==    by 0x2169EF: pci_piix_ide_initfn (piix.c:137)
==21745==    by 0x2269DD: pci_qdev_init (pci.c:1492)
==21745==    by 0x274839: qdev_init (qdev.c:150)
==21745==    by 0x27491C: qdev_init_nofail (qdev.c:243)
==21745==    by 0x225DD7: pci_create_simple_multifunction (pci.c:1552)
==21745==    by 0x216C7E: pci_piix3_ide_init (piix.c:224)
==21745==    by 0x3380A6: pc_init1 (pc_piix.c:257)

             reply	other threads:[~2012-02-29 16:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-29 16:16 Michael S. Tsirkin [this message]
2012-02-29 16:18 ` [Qemu-devel] port io mem leak Anthony Liguori
2012-02-29 16:20   ` Michael S. Tsirkin
2012-02-29 16:36   ` Avi Kivity
2012-02-29 16:39     ` Michael S. Tsirkin
2012-02-29 16:40       ` Michael S. Tsirkin
2012-02-29 16:41       ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120229161630.GB8661@redhat.com \
    --to=mst@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).