From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE6EE-0006Ns-Si for qemu-devel@nongnu.org; Wed, 12 Oct 2011 17:20:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RE6ED-0008Fn-Ph for qemu-devel@nongnu.org; Wed, 12 Oct 2011 17:20:42 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:42478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE6EC-0008FU-5p for qemu-devel@nongnu.org; Wed, 12 Oct 2011 17:20:41 -0400 Message-ID: <4E96047D.3080603@weilnetz.de> Date: Wed, 12 Oct 2011 23:19:57 +0200 From: Stefan Weil MIME-Version: 1.0 References: <4E95D6F1.4070402@weilnetz.de> <4E95FB7F.2010303@weilnetz.de> <05B92D62-378E-461A-AAD1-541DDA377A4B@suse.de> In-Reply-To: <05B92D62-378E-461A-AAD1-541DDA377A4B@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] 2 MiB alignment in qemu_vmalloc() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Avi Kivity , QEMU Developers 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