From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwsle-0002p5-Ju for qemu-devel@nongnu.org; Thu, 12 Nov 2015 09:22:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zwslb-0003l2-Fq for qemu-devel@nongnu.org; Thu, 12 Nov 2015 09:22:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwslb-0003ko-B4 for qemu-devel@nongnu.org; Thu, 12 Nov 2015 09:22:23 -0500 From: Juan Quintela In-Reply-To: (Peter Maydell's message of "Thu, 12 Nov 2015 13:53:35 +0000") References: <1447165546-27784-1-git-send-email-quintela@redhat.com> <1447165546-27784-43-git-send-email-quintela@redhat.com> <20151112120443.GE2754@work-vm> <20151112122318.GF2754@work-vm> <20151112130831.GG2754@work-vm> Date: Thu, 12 Nov 2015 15:22:17 +0100 Message-ID: <87pozfqova.fsf@emacs.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PULL 42/57] Page request: Consume pages off the post-copy queue Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Amit Shah , "Dr. David Alan Gilbert" , QEMU Developers Peter Maydell wrote: > On 12 November 2015 at 13:18, Peter Maydell wrote: >> On 12 November 2015 at 13:08, Dr. David Alan Gilbert >> wrote: >>> OK, can you try a simple migration by hand outside of the test harness; >>> just something simple like: >>> >>> ./bin/qemu-system-x86_64 -M pc -nographic >>> (qemu) migrate "exec: cat > /dev/null" >>> >>> and the same with q35 ? >> >> (qemu) migrate "exec: cat > /dev/null" >> migrate_get_current do init of current_migration 65307 >> unqueue_page 65307 >> 0 qemu-system-x86_64 0x00000001067c01c3 qemu_mutex_lock + 83 > > This turns out to be because migrate_init() is corrupting the > mutex memory when it does "memset(s, 0, sizeof(*s))". Presumably > Linux's initialized-mutex is all-zeroes, but OSX's is not. grrr, that is probably the case. Thanks for pinponting this. > > thanks > -- PMM