From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andr=E9_Weidemann?= Subject: Re: gfx card passthrough broken with latest head Date: Sun, 21 Aug 2011 09:42:45 +0200 Message-ID: <4E50B6F5.1090301@web.de> References: <4E467DBD.1030803@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm Return-path: Received: from fmmailgate01.web.de ([217.72.192.221]:60309 "EHLO fmmailgate01.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750878Ab1HUHnH (ORCPT ); Sun, 21 Aug 2011 03:43:07 -0400 Received: from smtp08.web.de ( [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id A15D019594B72 for ; Sun, 21 Aug 2011 09:43:06 +0200 (CEST) Received: from [80.88.21.21] (helo=[127.0.0.1]) by smtp08.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #2) id 1Qv2gU-0000Ei-00 for kvm@vger.kernel.org; Sun, 21 Aug 2011 09:43:06 +0200 In-Reply-To: <4E467DBD.1030803@web.de> Sender: kvm-owner@vger.kernel.org List-ID: Hi, On 13.08.2011 15:35, Andr=E9 Weidemann wrote: > Hi, > I pulled latest git yesterday and noticed that graphics card pass > through does not work anymore. The VM hangs (probably when initializi= ng > the gfx card) when passing a graphics card to the VM. > > I started to do a git bisect but device assignment does not work at a= ll > when doing it. > > I started like this: > > cd /usr/local/src > git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git > qemu-kvm-2011-08-12 > cd qemu-kvm-2011-08-12 > git bisect start > git bisect good fda19064e889d4419dd3dc69ca8e6e7a1535fdf5 > git bisect bad 44755ea36fee3f0b1093ef27404def8857602274 > > Bisecting: 229 revisions left to test after this > [55c0975c5b358e948b9ae7bd7b07eff92508e756] Do constant folding for sh= ift > operations. > > ./configure --audio-drv-list=3Dalsa --target-list=3Dx86_64-softmmu > --enable-kvm-device-assignment > > ERROR: unknown option --enable-kvm-device-assignment > > What am I doing wrong? I continued with "git bisect bad" from this point on, but up to where I= =20 started, no revision supported device assignment. I then did a "git bisect reset" and started over again. Now I continued= =20 with a few "git bisect good" until a revision came up that supported=20 device assignment, but then after compiling and running=20 qemu-system-x86_64, it exited with a segmentation fault. I continued=20 with "git bisect good" until the end but all revision supporting device= =20 assignment existed with a segmentation fault. How come so many revision do not support device assignment? Is there a=20 trick to enable it? Any help in this matter is greatly appreciated. Regards Andr=E9