WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Experimental results for VGA passthrough

To: "Beng Heng, Ng" <bengheng@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Experimental results for VGA passthrough
From: Jean Guyader <jean.guyader@xxxxxxxxx>
Date: Fri, 5 Jun 2009 07:55:25 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 04 Jun 2009 23:55:58 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=IL7srHWupZvaMZf8MEgjpRoFI/lcpI4C98PpSE0uD7E=; b=F1QYpzPUrpyYo99tjb94EyFpiRNCvwNfqUacse9CwNbuPEm+5UrqQkziJup1FL93fo Yz4gqFfAaCNcwgnGe3qD+Zf1t7fPfhKRIc2v+3/sEZ99sjjfj3T5CINC9ZfqRzcu5CmG ht3ry8jk2CAONfXg1OvG4+iRxH8R6Qh/dOI/4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PSQzmXYFfax9pTJzrwOUztYKdnWctIBbEJ0AeWTtjoQUWOQJ6JyPtx8BmzxxxATRdU nJR3yMyMH5UXdJ/CL1rnGpE8SVAUFvgLnP68C8b6/MBcBWjHZQaOm1yl1JhbHLbBf4gy gnSXoCTMMeslO3Iy+qEzeJb5Zm9xgUMBErN7E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A287525.1080103@xxxxxxxxxxxxxx>
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: <4A27FFB0.6060108@xxxxxxxxxxxxxx> <f68b66460906041043k32fa8511q936af819ace49cdd@xxxxxxxxxxxxxx> <4A28120F.5060707@xxxxxxxxxxxxxx> <f68b66460906041220w243c4982pe0b485347f13fa50@xxxxxxxxxxxxxx> <4A2820D0.3010301@xxxxxxxxxxxxxx> <f68b66460906041241y4a5bbdaax99761a87d05ad5cb@xxxxxxxxxxxxxx> <4A287525.1080103@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Could you tell me if it works with a Vista guest or a linux hvm guest?

The page fault and the screen still stays on Windows issue are due to
the lack of FLR in your kernel. Doing a FLR on the graphic card before
booting and when the domain shutdown will fix those.

Thanks,
Jean

2009/6/5 Beng Heng, Ng <bengheng@xxxxxxxxxxxxxx>:
> Ok, I've gotten that patch in. If I pass through Intel IGD now, I'm able
> to boot DomU with it. However, it is not particularly stable, meaning
> sometimes it just takes too long to start DomU (I waited about 2
> minutes). I think it may have something to do with the pagefault. I've
> attached the log for a normal case.
>
> One problem remains though. After shutting down from within DomU, the
> screen still stays at the Windows Shutdown screen.
>
> Also, the resolution and color is probably in EGA. Is this because some
> of the registers are still emulated?
>
> Thanks.
>
> - Beng Heng
>
> So that solves
> Jean Guyader wrote:
>> If you want the intel to work as a primary display adapter you need to
>> do all those thing:
>>   - Disable the vga in qemu
>>   - Copy the VGA bios in the guest
>>   - Map the legacy io port and MMIOs
>>   - Fake some value in the host bridge.
>>
>> You can have a look at this patch.
>> http://xenbits.xen.org/gitweb?p=xenclient/ioemu-pq.git;a=blob;f=master/vga-passthrough;h=d2adba9f84a17df59b1bedc843d29433b4f1eff0;hb=HEAD
>>
>> I will try to push it xen upstream when i'll have some times.
>>
>> Jean
>>
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel