From: Georg Hopp Subject: Re: current qemu-kvm doesn't work with vhost Date: Fri, 17 Jun 2011 07:10:29 +0000 (UTC) Message-ID: References: <20110610030844.GA3847@t400> <4DF1B5C0.2070301@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from lo.gmane.org ([80.91.229.12]:55624 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751334Ab1FQHPH (ORCPT ); Fri, 17 Jun 2011 03:15:07 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QXTGj-0002zs-DV for kvm@vger.kernel.org; Fri, 17 Jun 2011 09:15:05 +0200 Received: from 62.109.86.88 ([62.109.86.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Jun 2011 09:15:05 +0200 Received: from georg by 62.109.86.88 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Jun 2011 09:15:05 +0200 Sender: kvm-owner@vger.kernel.org List-ID: Jan Kiszka web.de> writes: > > On 2011-06-10 05:08, Amos Kong wrote: > > host kernel: 2.6.39-rc2+ > > qemu-kvm : 05f1737582ab6c075476bde931c5eafbc62a9349 > > > > (gdb) r -monitor stdio -m 800 ~/RHEL-Server-6.0-64-virtio.qcow2 -snapshot -device > virtio-net-pci,netdev=he -netdev tap,vhost=on,id=he > > > > I already came across that symptom in a different context. Fixed by the > patch below. > > However, the real issue is related to an upstream cleanup of the > virtio-pci build. That reveals some unneeded build dependencies in > qemu-kvm. Will post a fix. > > Jan FYI I encountered the same problem and applied the patch. Well this results in the following error while starting the guest: qemu-system-x86_64: unable to start vhost net: 38: falling back on userspace virtio and i have no network at all. I will disable vhost=on for now. Greetz Georg