From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdBce-0005nR-DB for qemu-devel@nongnu.org; Fri, 27 Feb 2009 17:56:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdBcd-0005n9-OG for qemu-devel@nongnu.org; Fri, 27 Feb 2009 17:55:59 -0500 Received: from [199.232.76.173] (port=58517 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdBcd-0005n4-FI for qemu-devel@nongnu.org; Fri, 27 Feb 2009 17:55:59 -0500 Received: from main.gmane.org ([80.91.229.2]:55542 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LdBcd-0002vS-2A for qemu-devel@nongnu.org; Fri, 27 Feb 2009 17:55:59 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LdBcZ-00084D-9j for qemu-devel@nongnu.org; Fri, 27 Feb 2009 22:55:56 +0000 Received: from 204.147.152.1 ([204.147.152.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Feb 2009 22:55:55 +0000 Received: from void by 204.147.152.1 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Feb 2009 22:55:55 +0000 From: Consul Date: Fri, 27 Feb 2009 14:55:25 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: news Subject: [Qemu-devel] [Patch] [Resend] Fix sigsegv on Windows host Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Is there a reason this patch has not been applied? I'm still getting sigsegv early in the boot of Windows images without it. s->bounce has been VirtualAlloc'ed and should be VirtualFree'ed. signed-off-by Alex Ivanov --- block.c (revision 6653) +++ block.c (working copy) @@ -1263,7 +1263,7 @@ if (!s->is_write) { qemu_iovec_from_buffer(s->iov, s->bounce, s->iov->size); } - qemu_free(s->bounce); + qemu_vfree(s->bounce); s->this_aiocb->cb(s->this_aiocb->opaque, ret); qemu_aio_release(s->this_aiocb); }