From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: current qemu-kvm doesn't work with vhost Date: Fri, 17 Jun 2011 09:29:41 +0200 Message-ID: <4DFB0265.2090305@web.de> References: <20110610030844.GA3847@t400> <4DF1B5C0.2070301@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF334C3B8F1E27E541EB5EC3A" Cc: kvm@vger.kernel.org To: Georg Hopp Return-path: Received: from fmmailgate01.web.de ([217.72.192.221]:46256 "EHLO fmmailgate01.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756913Ab1FQH3o (ORCPT ); Fri, 17 Jun 2011 03:29:44 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF334C3B8F1E27E541EB5EC3A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2011-06-17 09:10, Georg Hopp wrote: > 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 -snap= shot > -device >> virtio-net-pci,netdev=3Dhe -netdev tap,vhost=3Don,id=3Dhe >>> >> >> I already came across that symptom in a different context. Fixed by th= e >> patch below.=20 >> >> 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 >=20 > FYI >=20 > I encountered the same problem and applied the patch. >=20 > Well this results in the following error while starting the guest: >=20 > qemu-system-x86_64: unable to start vhost net: 38:=20 > falling back on userspace virtio >=20 > and i have no network at all. I will disable vhost=3Don for now. Hmm, works fine for me. The vhost-net module is loaded (though I got a different message when I forgot to load it)? Jan --------------enigF334C3B8F1E27E541EB5EC3A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk37AmUACgkQitSsb3rl5xT7TwCgyGiQ0mpu+ThS2PJ4RpI9aLY3 vVcAnRllmKXXzfMX57Esd9uZNoyxKStN =SH39 -----END PGP SIGNATURE----- --------------enigF334C3B8F1E27E541EB5EC3A--