[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Try to integrate the Xen PCI Passthrough code into linu
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] Try to integrate the Xen PCI Passthrough code into linux: have pci_regs conflict with libpci. |
Date: |
Tue, 27 Sep 2011 18:20:43 +0300 |
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