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] Xen 4.0.0 first release candidate / graphics passthru

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Xen 4.0.0 first release candidate / graphics passthru
From: Jean Guyader <jean.guyader@xxxxxxxxx>
Date: Thu, 21 Jan 2010 09:18:48 +0000
Cc: "Mr. Teo En Ming \(Zhang Enming\)" <space.time.universe@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, weidong.han@xxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 21 Jan 2010 01:19:06 -0800
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=0e3IeNyftfl6QCXhc+QRoDfiB1iP8f3+fYTq54gV2QU=; b=M+wGeZ0UQ+SULkmbOpySpXP1bkf9xIxXLF5mbPPOSwnMdK7gmeyg6VNOSf3xj+Lxhp iskY0mdRliua0XUXCTNMcILpGE3BnTTTnMvQjOg0HMihNhNr5Hxsu34WkSfABqhWlzem 51FGWx62qSWfZGV7vtAzUrtSXz8i0NgLdv2nw=
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=nlfzX3ubdxOUM2nrniRUfnZCRH7fjiUpheAZcoKHyzLMXM07fE49kPTdVc5H54+wOu 1WZgVnn85DIUG3vI9wH4Dwo93ettsn7m0iKPXQP7bJwLcgsKY3S3vK/iH+6dkEZrGGw2 2E+DxLbfpgBUg98qyqOqvuwDx0m22bZMClWSk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100121091215.GL2861@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: <20100112093245.GZ25902@xxxxxxxxxxx> <C771F9D8.61F7%keir.fraser@xxxxxxxxxxxxx> <20100121085407.GJ2861@xxxxxxxxxxx> <f68b66461001210109x3f09c3f6p673819cffaae6137@xxxxxxxxxxxxxx> <20100121091215.GL2861@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
2010/1/21 Pasi Kärkkäinen <pasik@xxxxxx>:
> On Thu, Jan 21, 2010 at 09:09:35AM +0000, Jean Guyader wrote:
>> 2010/1/21 Pasi Kärkkäinen <pasik@xxxxxx>:
>> > On Tue, Jan 12, 2010 at 10:05:12AM +0000, Keir Fraser wrote:
>> >> On 12/01/2010 09:32, "Pasi Kärkkäinen" <pasik@xxxxxx> wrote:
>> >>
>> >> >>> Does 4.0 include gpu passthru features? If not are there any updated
>> >> >>> patches to try gpu passthru with 4.x?
>> >> >>
>> >> >> There is support (c/s 20144).
>> >> >>
>> >> >
>> >> > Btw is it possible now to specify a file to load the VGA bios from?
>> >> > earlier it was required to hardcode it into some header file or so.
>> >>
>> >> I think it is hardcoded that qemu will take a copy of the host system's 
>> >> BIOS
>> >> (i.e., for the primary host VGA). Other options would be easy to implement
>> >> I'm sure, if someone's interested.
>> >>
>> >
>> > I was just looking at same older mails, and it seems for example Teo En 
>> > Ming
>> > and others who got Xen VGA passthrough working had to copy the 
>> > vgabios-pt.bin
>> > to tools/firmware/vgabios/ before building Xen.
>> >
>> > That's not very practical..
>> >
>>
>> Right now the code copy the bios from 0xC0000. So if you want to pass through
>> a secondary display adapter with the vga bios you are not copying the right 
>> one,
>> that why this hack was for.
>> Surely the code could be modified to add an option to copy the bios of
>> the right card.
>>
>
> Ok, thanks for the info.
>
> Do I remember correctly that there was a problem with copying the BIOS from 
> some cards,
> or on some setups? And that's why the patch to load it from a file was made?
>

Yes, I think that was because of that, and I'm not sure about the
intel IGD but I think that was causing some issue.
The code could have a cleanup and use sysfs to get the rombios, if I
works with the intel graphic card I think we should do that.

Jean

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

<Prev in Thread] Current Thread [Next in Thread>