From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiomI-0005n9-02 for qemu-devel@nongnu.org; Thu, 05 Jan 2012 09:58:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiomA-0001l9-Pp for qemu-devel@nongnu.org; Thu, 05 Jan 2012 09:58:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiomA-0001kT-JM for qemu-devel@nongnu.org; Thu, 05 Jan 2012 09:58:42 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q05EwfHt004560 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 5 Jan 2012 09:58:41 -0500 Date: Thu, 5 Jan 2012 17:00:47 +0200 From: "Michael S. Tsirkin" Message-ID: <20120105150047.GB2751@redhat.com> References: <4F058410.8050206@redhat.com> <4F058686.2030805@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F058686.2030805@redhat.com> Subject: Re: [Qemu-devel] vhost broken? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Gerd Hoffmann , "qemu-devel@nongnu.org" On Thu, Jan 05, 2012 at 01:16:22PM +0200, Avi Kivity wrote: > On 01/05/2012 01:05 PM, Gerd Hoffmann wrote: > > Hi, > > > > current master seems to corrupt guest memory, I get guest errors like > > this one: > > > > swap_dup: Bad swap file entry 1999800080 > > BUG: Bad page map in process udevd pte:bec5f30054520100 pmd:1f6f4067 > > addr:00007fc464a02000 vm_flags:00100073 anon_vma:ffff88001f928ec0 > > mapping:(null) index:7fc464a02 > > Pid: 555, comm: udevd Not tainted 2.6.32-220.el6.x86_64 #1 > > > > bisecting points to this commit: > > > > commit 04097f7c5957273c578f72b9bd603ba6b1d69e33 > > Author: Avi Kivity > > Date: Sun Dec 18 14:06:05 2011 +0200 > > > > vhost: convert to MemoryListener API > > > > Very likely. Michael, can you help? > > I don't have a vhost setup, can you share your command line? Just chmod /dev/vhost-net to allow access, then add vhost=on to the tap device. Example -netdev tap,id=foo,ifname=msttap0,script=/home/mst/ifup,downscript=no,vhost=on -device virtio-net-pci,netdev=foo > -- > error compiling committee.c: too many arguments to function