[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [v5][PATCH 2/5] xen, gfx passthrough: create pseudo intel isa bridge
- To: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
- From: "Chen, Tiejun" <tiejun.chen@xxxxxxxxx>
- Date: Wed, 25 Jun 2014 16:48:02 +0800
- Cc: peter.maydell@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, stefano.stabellini@xxxxxxxxxxxxx, allen.m.kay@xxxxxxxxx, qemu-devel@xxxxxxxxxx, Kelly.Zytaruk@xxxxxxx, yang.z.zhang@xxxxxxxxx, anthony@xxxxxxxxxxxxx, anthony.perard@xxxxxxxxxx, pbonzini@xxxxxxxxxx
- Delivery-date: Wed, 25 Jun 2014 08:48:31 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
On 2014/6/25 16:43, Michael S. Tsirkin wrote:
On Wed, Jun 25, 2014 at 04:39:07PM +0800, Chen, Tiejun wrote:
In fact it's exactly what passthrough does.
I wonder if more bits from ./hw/i386/kvm/pci-assign.c
can be reused. How do you poke at the host device? sysfs?
Yes, sysfs.
Thanks
Tiejun
Then you should be able to re-use large chunks of
./hw/i386/kvm/pci-assign.c: basically everything
that deals with emulation.
Do you mean those hooks to get info from the real device? Xen have its
own wrapper, xen_host_pci_get_block(), so we always go there in xen
scenario.
Thanks
Tiejun
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|