From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcsOpIFdlaWRlbWFubg==?= Subject: Re: Device pass-through Date: Fri, 06 Jan 2012 10:31:43 +0100 Message-ID: <4F06BF7F.4040704@web.de> References: <4F02086A.6050607@eburg.com> <1325626484.4305.15.camel@bling.home> <4F039D66.103@eburg.com> <1325648683.4305.54.camel@bling.home> <4F05F4EE.3050003@eburg.com> <4F06A205.9080502@eburg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Alex Williamson , kvm@vger.kernel.org To: Gordon Messmer Return-path: Received: from fmmailgate03.web.de ([217.72.192.234]:39567 "EHLO fmmailgate03.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932508Ab2AFJcN (ORCPT ); Fri, 6 Jan 2012 04:32:13 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate03.web.de (Postfix) with ESMTP id A097D1AF46806 for ; Fri, 6 Jan 2012 10:31:48 +0100 (CET) In-Reply-To: <4F06A205.9080502@eburg.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06.01.2012 08:25, Gordon Messmer wrote: > On 01/05/2012 11:07 AM, Gordon Messmer wrote: >> I started with an update to seabios, from the bundled version >> 0.6.1.2-8.el6 to a rebuilt package from F16, 0.6.2-3.el6. That's eno= ugh >> to get the guest to boot with the pass-through video card. It doesn'= t >> work, currently, and I'm pretty sure that's because I can't read the= ROM >> from the card. I'm going to look around for a solution to that and w= ill >> update again. > > Well, I finally figured out that I have to enable the reading of roms > from the device by writing "1" to the "rom" node in /sys/. Now the > problem is that the rom is 64k, and only 32k are making it into the > guest. I saw a reference to this problem here: > http://www.spinics.net/lists/kvm/msg49946.html > > I've updated seabios to 0.6.3, and I've rebuilt the qemu-kvm packages > from F16 on CentOS 6.2 to try those. It took a while, but didn't chan= ge > the results. I'm still only able to read 32k of rom from the node in > /sys/ in the guest. > > Perhaps I'd have better luck with a different card. > > In the meantime, thanks for your advice. I think I'm close, and I'll > keep working on the project. If I get it working, I'll send along > further details with the steps I had to take. Do you have the ROM as a file on your HDD perhaps? If so, you can try=20 the following: -device pci-assign,host=3D05:00.0,romfile=3D${ROMFILE}. This used to work fine for me even with ROM file of around 130k. Regards, Andr=C3=A9