From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:55048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnwr8-00010t-Ud for qemu-devel@nongnu.org; Mon, 01 Aug 2011 14:04:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qnwr7-00055C-RV for qemu-devel@nongnu.org; Mon, 01 Aug 2011 14:04:46 -0400 Received: from rcdn-iport-9.cisco.com ([173.37.86.80]:27767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnwr7-000551-G8 for qemu-devel@nongnu.org; Mon, 01 Aug 2011 14:04:45 -0400 Message-ID: <4E36EAB9.3010807@cisco.com> Date: Mon, 01 Aug 2011 12:04:41 -0600 From: David Ahern MIME-Version: 1.0 References: <4E36E5F7.6060202@cisco.com> In-Reply-To: <4E36E5F7.6060202@cisco.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu-kvm aborts - vhost_dev_unassign_memory: Assertion `to >= 0' failed. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity , aliguori@us.ibm.com Cc: qemu-devel , KVM mailing list On 08/01/2011 11:44 AM, David Ahern wrote: > qemu-kvm.git as of: > > commit dacdc4b10bafbb21120e1c24a9665444768ef999 > Merge: 7b69d4f 0af4922 > Author: Avi Kivity > Date: Sun Jul 31 11:42:26 2011 +0300 > > Merge branch 'upstream-merge' into next > > is aborting with the error: > > qemu-kvm: qemu-kvm.git/hw/vhost.c:123: vhost_dev_unassign_memory: > Assertion `to >= 0' failed. > Aborted BTW, happens when I pass a kernel and initrd on the command line. qemu-kvm -kernel vmlinuz -initrd initrd.img ... David > > $ git bisect bad > 00cb2a99f5e7f73c4fff54ae16c7b6acf463ab5c is the first bad commit > commit 00cb2a99f5e7f73c4fff54ae16c7b6acf463ab5c > Author: Avi Kivity > Date: Tue Jul 26 14:26:17 2011 +0300 > > pc: convert pc_memory_init() to memory API > > Reviewed-by: Anthony Liguori > Signed-off-by: Avi Kivity > Signed-off-by: Anthony Liguori > > :040000 040000 3d709c2cab75b934030fb9fbdfa99024c855b2a6 > 720d362f9702f15d16519093555182169d0b09bd M hw >