From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rildc-0004zE-DW for qemu-devel@nongnu.org; Thu, 05 Jan 2012 06:37:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RildW-0004yf-30 for qemu-devel@nongnu.org; Thu, 05 Jan 2012 06:37:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RildV-0004ya-Py for qemu-devel@nongnu.org; Thu, 05 Jan 2012 06:37:34 -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 q05BbXdp022852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 5 Jan 2012 06:37:33 -0500 Date: Thu, 5 Jan 2012 11:37:26 +0000 From: "Daniel P. Berrange" Message-ID: <20120105113726.GI31797@redhat.com> References: <4F058410.8050206@redhat.com> <4F058686.2030805@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4F058686.2030805@redhat.com> Subject: Re: [Qemu-devel] vhost broken? Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: "Michael S. Tsirkin" , 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? All you need to do is take your existing -netdev command line, and add in the parameter: vhost=on Libvirt does some extra stuff like passing down a pre-opened vhost file descriptor, but you can ignore that for just testing the core functionality. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|