From: Stefan Weil <sw@weilnetz.de>
To: Alexander Graf <agraf@suse.de>
Cc: Avi Kivity <avi@redhat.com>, QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] 2 MiB alignment in qemu_vmalloc()
Date: Wed, 12 Oct 2011 23:19:57 +0200 [thread overview]
Message-ID: <4E96047D.3080603@weilnetz.de> (raw)
In-Reply-To: <05B92D62-378E-461A-AAD1-541DDA377A4B@suse.de>
Am 12.10.2011 22:47, schrieb Alexander Graf:
> Well, yes, my point is that it's a bug in valgrind that should be
> fixed. I don't think we should special-case QEMU because of bugs in
> debugging software :)
>
> Alex
Yes, the valgrind bug should be fixed. I don't know why it isn't,
but that's not the point:
Valgrind is very valuable for finding certain kinds of bugs in QEMU
which we want to find and fix (I hope we agree on this).
Therefore developers should be able to use it.
Today, they cannot use Valgrind with QEMU out-of-the box,
because they get an assertion. Some developers will stop here.
Others will ask Google, look in Valgrind's code and spend some
time to find and fix the problem before they start using
Valgrind to find QEMU bugs.
They could have spent their time better.
I can try to make QEMU more useable with Valgrind by changing
the QEMU code (which was Valgrind compatible up to Avi's change).
I cannot change the Valgrind code, and even if I could, it would
take a lot of time until all Linux distributions would include a
fixed Valgrind :-(
If all existing gdb versions did not work with QEMU,
but there were a simple QEMU change which made them work,
what would you do?
Cheers,
Stefan
next prev parent reply other threads:[~2011-10-12 21:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 18:05 [Qemu-devel] 2 MiB alignment in qemu_vmalloc() Stefan Weil
2011-10-12 20:02 ` Alexander Graf
2011-10-12 20:41 ` Stefan Weil
2011-10-12 20:47 ` Alexander Graf
2011-10-12 21:19 ` Stefan Weil [this message]
2011-10-12 21:30 ` Alexander Graf
2011-10-13 7:56 ` Gerd Hoffmann
2011-10-13 13:23 ` Paolo Bonzini
2011-10-16 8: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=4E96047D.3080603@weilnetz.de \
--to=sw@weilnetz.de \
--cc=agraf@suse.de \
--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).