From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gordon Messmer Subject: Re: Device pass-through Date: Thu, 05 Jan 2012 23:25:57 -0800 Message-ID: <4F06A205.9080502@eburg.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Alex Williamson Return-path: Received: from home.dragonsdawn.net ([173.160.248.33]:33490 "EHLO ascension.private.dragonsdawn.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751866Ab2AFHZ7 (ORCPT ); Fri, 6 Jan 2012 02:25:59 -0500 In-Reply-To: <4F05F4EE.3050003@eburg.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 enough > 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 will > 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 change 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.