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


[Xen-devel] Re: VGA passthrough on unstable

To: konrad.wilk@xxxxxxxxxx
Subject: [Xen-devel] Re: VGA passthrough on unstable
From: Liwei <xieliwei@xxxxxxxxx>
Date: Wed, 18 May 2011 07:14:10 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 17 May 2011 16:55:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to:cc :content-type; bh=x5Vy5ICUTBwTwAlSm/v+JJzZviGesc1/Vj8sXwTJ3zs=; b=e0GBQ+P6gET1FRJgODu0KgEM7e96amVKqfZ1jPhqRyBNlINUbdWfuCzKqLpGb7oEh/ XZ6kDFYKCE6Drn74magLPlhX0SPMi9ue23iPICllXagn+vHyaQ2LB9dFKq8uRetVRGsV j8LWUBUy2ACjcv9uuSPA8x2zx44v3OHZR0I3A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; b=MbIpXZNgswiPZ1u697QE9wEppOonHY7rWxP02v+EZb+4kEtqusLz7mQmT5HbAdMu9J aGXj35ImTmxbmpPGQG5qfV/AXsPeOXiaS3A11IhM7sWLfmiV5R6MAnjcvrk94Lo2v745 BmV4W3sponR85ut+77s0DvDP5w2gLEjZXxiPc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>Date: Tue, 10 May 2011 13:55:04 -0400
>From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
>Subject: Re: [Xen-devel] Re: VGA passthrough on unstable
>To: JavMV <javiapple@xxxxxxxxxxx>
>Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
>Message-ID: <20110510175504.GA15697@xxxxxxxxxxxx>
>Content-Type: text/plain; charset=us-ascii
>> How can i fix this?
>> Is the patch hvmloader already applied in xen-unstable4.2?
>> Is there any difference between using pci-stub instead of pciback?
>Not for HVM guests.
>> With these 2 patches applied I cannot run the virtual machine neither with
>> gfx_passthru = 0, but without those patches i was able to do it and was able
>> to see the Nvidia Card inside Windows but with error code43 and a yellow
>> exclamation symbol...
>Hmm, Does the error code show up anything on Google?

Whoops, I didn't notice there was a response to my post.

I did do a search but that is a pretty generic error Windows gives
when the driver decides something is wrong. No way of knowing
precisely what unless the driver spews some information somewhere
(which I think is unlikely).

However come to think of it, I did encounter that message twice
before. Once when I tested with PCI passthrough in ESXi and the other
time when the stock xen corrupted my card's firmware (I think, had to
reflash the backup firmware with nvflash for the card to work again).

So I guess in this case it may be due to the card being in an unknown
state when the driver is loaded? What if I made a change in xen to
execute card firmware even if gfx_passthrough = 0, without all the
modifications required for VGA passthrough? Though I suspect the
firmware expects some of the special VGA address mapping?

Xen-devel mailing list