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] [PATCH 1/2] graphics passthrough with VT-d

To: 'Stefano Stabellini' <stefano.stabellini@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 1/2] graphics passthrough with VT-d
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Sun, 20 Sep 2009 20:59:09 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Lin, Ben Y" <ben.y.lin@xxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, 'Jean Guyader' <Jean.Guyader@xxxxxxxxxx>, 'Keir Fraser' <Keir.Fraser@xxxxxxxxxxxxx>, 'Jean Guyader' <jean.guyader@xxxxxxxxx>, "'bengheng@xxxxxxxxxxxxxx'" <bengheng@xxxxxxxxxxxxxx>
Delivery-date: Sun, 20 Sep 2009 06:00:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.0909190210400.16727@kaball-desktop>
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: <715D42877B251141A38726ABF5CABF2C054B533682@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090828081232.GA14065@xxxxxxxxxx> <alpine.DEB.2.00.0909111640210.2687@kaball-desktop> <715D42877B251141A38726ABF5CABF2C054B68971B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <f68b66460909160133y5866d530nc419a397db4e61e@xxxxxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C054B68983C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.0909161153310.24685@kaball-desktop> <715D42877B251141A38726ABF5CABF2C054B689E76@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.0909190210400.16727@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aco4xhYWjexClhCeTMqoTg8Za32eZQBKrmDA
Thread-topic: [Xen-devel] [PATCH 1/2] graphics passthrough with VT-d
Stefano Stabellini wrote:
> On Fri, 18 Sep 2009, Han, Weidong wrote:
>> Stefano Stabellini wrote:
>>> On Wed, 16 Sep 2009, Han, Weidong wrote:
>>>> I heard VT-d didn't work with stubdom, it needs some efforts to
>>>> support it. Actually I didn't try stubdom with VT-d.
>>>> 
>>> 
>>> You are right, currently stubdom doesn't work with passthrough.
>>> I have a patch series to make it work but it is not finished yet
>>> and I have been pulled on other projects; I hope to resume my work
>>> on that in the near future. 
>>> 
>>> In any case the fact the currently passthrough doesn't work with
>>> stubdom is not a good reason for introducing even more problematic
>>> changes.
>> 
>> There are many changes on qemu for gfx passthrough, copying and
>> mapping vbios in qemu just a small part. If other changes on qemu
>> can be implemented correspondingly in stubdom, why not copying and
>> mapping vbios in qemu?   
>> 
> 
> Because it would require the stubdom to be able to read the vgabios
> and it would be better if we avoid it.

The problem of changing on xc_hvm_build is need to modify hypercall API 
(xc_hvm_build_target_mem), it's better to avoid it. If it is more intrusive or 
harder to read vgabios in stubdom, we can change it back to modify xc_hvm_build.

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