xen-devel
RE: [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for
To: |
"Kay, Allen M" <allen.m.kay@xxxxxxxxx> |
Subject: |
RE: [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for Calpella and Sandybridge |
From: |
Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> |
Date: |
Fri, 11 Jun 2010 12:08:29 +0100 |
Cc: |
"xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>, Guyader <Jean.Guyader@xxxxxxxxxx>, Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Ross Philipson <Ross.Philipson@xxxxxxxxxx>, Jean |
Delivery-date: |
Fri, 11 Jun 2010 04:11:59 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<987664A83D2D224EAE907B061CE93D5301150AC175@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
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: |
<987664A83D2D224EAE907B061CE93D530114C3D62D@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100607074551.GB19463@xxxxxxxxxxxxx> <987664A83D2D224EAE907B061CE93D5301150AC175@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Tue, 8 Jun 2010, Kay, Allen M wrote:
> Isaku,
>
> Thanks for the feedback.
>
> > pci_{read, write}_block() would be better than
> > switch(len) case 1: case 2: case4:...
>
> Done!
>
> > Is it really necessary to move PCIBus and PCIBridge to the header file?
> > Doesn't pci_bridge_init() work?
>
> I changed to code to utilize pci_bridge_init(). However, I still need to move
> PCIBus and PCIBridge defines to the header file. The alternative is to
> pollute
> pc.c with graphics passthrough specific code.
>
> > Overriding pci config read/write methods of i440fx would be much cleaner
> > than hooking pci_data_read/write. (pass igd_pci_read/write to
> > pci_register_device() in i440fx_init() in hw/piix_pci.c instead of NULL)
>
> Doing this resulted in a lot of duplicated code and also force code path to
> change
> even when IGD passthrough is not used. To do it correctly, I also need to
> put in IGD or PASSTHROGH awareness in piix_pci.c. For now, I'm going to keep
> the original patch.
>
I see.
Even though the patch is an improvement over what we currently have in
qemu-xen, it is still not acceptable in upstream qemu as it is.
Considering that we are pretty close to have the merge complete, I think
it worth trying to come up with something cleaner.
Isaku, you are the latest one to touch the pci_host code in qemu, do you
have any other suggestion?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for Calpella and Sandybridge, Kay, Allen M
- Re: [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for Calpella and Sandybridge, Isaku Yamahata
- RE: [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for Calpella and Sandybridge, Kay, Allen M
- RE: [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for Calpella and Sandybridge,
Stefano Stabellini <=
- Re: [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for Calpella and Sandybridge, Isaku Yamahata
- Re: [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for Calpella and Sandybridge, Stefano Stabellini
- RE: [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for Calpella and Sandybridge, Kay, Allen M
- Re: [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for Calpella and Sandybridge, Isaku Yamahata
- RE: [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for Calpella and Sandybridge, Kay, Allen M
- RE: [Xen-devel] [PATCH][VTD] enable integrated graphics passthrough for Calpella and Sandybridge, Stefano Stabellini
|
|
|