|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: Try to integrate the Xen PCI Passthrough code into linux
To: |
Anthony PERARD <anthony.perard@xxxxxxxxxx> |
Subject: |
[Xen-devel] Re: Try to integrate the Xen PCI Passthrough code into linux: have pci_regs conflict with libpci. |
From: |
"Michael S. Tsirkin" <mst@xxxxxxxxxx> |
Date: |
Tue, 27 Sep 2011 18:20:43 +0300 |
Cc: |
Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>, Alexander Graf <agraf@xxxxxxx>, QEMU-devel <qemu-devel@xxxxxxxxxx>, Alex Williamson <alex.williamson@xxxxxxxxxx>, Anthony Liguori <anthony@xxxxxxxxxxxxx> |
Delivery-date: |
Tue, 27 Sep 2011 08:20:25 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<CAJJyHjK3ySHcHRC6eB2cPS=-=1JnqsWV4tXG0xDJgxpS2jG4=w@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: |
<CAJJyHjK3ySHcHRC6eB2cPS=-=1JnqsWV4tXG0xDJgxpS2jG4=w@xxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Sep 27, 2011 at 04:02:23PM +0100, Anthony PERARD wrote:
> Hi,
>
> I'm trying to integrate the Xen PCI Passthrough code into Qemu. But we
> use libpci, and it's not friendly with pci_regs.h.
>
> So can I replace pci_regs by the libpci one?
I prefer sticking to pci_regs in linux.
> Should I avoid to include both? (by having a "hook" the libpci functions)
> Or do you have any other suggestions?
>
> Thanks,
> Regards,
Can you avoid libpci? It was very useful before sysfs, but
on modern systems there isn't much that it does.
--
MST
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|