This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] VGA passthrough on unstable

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] VGA passthrough on unstable
From: Liwei <xieliwei@xxxxxxxxx>
Date: Fri, 6 May 2011 00:56:30 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 05 May 2011 09:58:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=ce4yEMdvC6YOR+z7RSvgsZwOAlx+RuwElmhwsW+1cng=; b=bohaW9l5HnTyOF/esD8BZtYedXyyZyBmTtHmmnIQIMiDYZAnMICADiStji/eeD/dbR 6ry8kVLzJDgzwGDKgT3E3qn+Y1UJDf2aFbVnEZzbYZE/aSac9g42wM9Ksvju/grai0O7 nrboHZ6fHbWl8r0OsCbHiEPGepxCd1KbxR0DY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=mcGgioBqaWk3SZ1xDpIsFP7+dOQ6aIj8Nid//9RY9vQvIyNgDe+mtwDCi9rawB87Zr QtxFQiZyXzH+NtfHm4dWBg851UCIN9Butzg1COfsd1eoOXSJhQcqvLIJFiCD5jEogT6P CLlQVJKps3g2oJXql455PU3tVU+FogjVrhkKo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110505152019.GQ32595@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTi=O1JkLyayYr4gx87QKqbRNRLnGOQ@xxxxxxxxxxxxxx> <BANLkTinrcbm-J6rDzTRQDUyjnKgd_LUwpg@xxxxxxxxxxxxxx> <20110505152019.GQ32595@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 5 May 2011 23:20, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> Being able to specify which vgabios file to load would be great..
> Feel free to send patches!

I dumped the BIOS of my Palit Nvidia GTX480 card with the nvdump tool.
Not sure if its legal to post it online though. Will send the patches
when there's substantial progress.

>> However, using the primary graphics card, again with or without the
>> secondary passthrough patch, it actually managed to partially work
>> booting up the Windows 7 install. It manages to reach the pulsating
>> windows logo before BSOD-ing with 0x0000000A (IRQ_NOT_LESS_OR_EQUAL).
>> Meanwhile, the logs show a lot of:
>>    pt_pci_read_config: Error: Failed to read register with invalid
>> access size alignment. [00:05.0][Offset:0eh][Length:4]
>>    pt_pci_read_config: Error: Failed to read register with invalid
>> access size alignment. [00:06.0][Offset:0eh][Length:4]
> Hmm..
> So did you apply the vBar == pBar patches ?
> Did you modify them to fit your hardware?
> -- Pasi


The patch that I use is based on Weidong's pBAR==vBAR patch. From what
I hear it automatically remaps any vBAR access? I'm not familiar with
low level hardware architecture, so I'd need some prodding to
understand what's going on in the patched code.

So where do I modify them to fit my hardware?

Xen-devel mailing list