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

[Xen-devel] Try to integrate the Xen PCI Passthrough code into linux: ha

To: QEMU-devel <qemu-devel@xxxxxxxxxx>
Subject: [Xen-devel] Try to integrate the Xen PCI Passthrough code into linux: have pci_regs conflict with libpci.
From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Date: Tue, 27 Sep 2011 16:02:23 +0100
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Michael S. Tsirkin" <mst@xxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Alexander Graf <agraf@xxxxxxx>, Alex Williamson <alex.williamson@xxxxxxxxxx>, Anthony Liguori <anthony@xxxxxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 27 Sep 2011 08:05:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=LhYPgs6m7PatGssnN2ujgUP1IYn3siYIrwITuBxxTTQ=; b=gaLA2ivm2Ctb6q/m3ix8JPEVE6J5wgmOhUgG30FinHgiXXRlO5CMNtTbAjL2y7Seyf 8SufNy2ykFqbMRIDBzfxmgzyV8/zImYcabLc0aT2YXF8QtNjFxsl/2+MtMSqdtlwm1r0 xycQ8oKVb6DpOaL/HYoYNTx3VTb8HR6YaDpI4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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?
Should I avoid to include both? (by having a "hook" the libpci functions)
Or do you have any other suggestions?

Thanks,
Regards,

-- 
Anthony PERARD

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

<Prev in Thread] Current Thread [Next in Thread>