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/
Home Products Support Community News


[Xen-devel] PCI bus emulation?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] PCI bus emulation?
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Wed, 3 Aug 2005 16:46:32 -0400
Delivery-date: Wed, 03 Aug 2005 20:44:58 +0000
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

  I have seen that the Qemu code contains some nice code for PCI bus 
emulation. I wonder whether this code could be reused in XEN to fake a PCI 
bus by running the PCI emulation code in an exception handler in the 
hypervisor and setting a user domain's IO privilege level appropriately to 
have all inb/outb's intercepted. This could have potential benefits on the 
build process of user domains which could include the PCI code when built, 
but that code when probing the PCI bus would only find an empty bus and 
the probing of the drivers in the kernel would not start. Maybe this code 
could also be used to support driver domains. Is this a good idea? :-)


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] PCI bus emulation?, Stefan Berger <=