|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 5/7] PCI device register/unregister + pci_dev cleanup
Add hypercall for adding and removing PCI devices
Signed-off-by: Joshua LeVasseur <joshua.levasseur@xxxxxxxxxxxxx>
--
physdev.h | 11 +++++++++++
1 file changed, 11 insertions(+)
--
--- a/include/xen/interface/physdev.h Fri Jun 27 16:07:56 2008 +0100
+++ b/include/xen/interface/physdev.h Thu Jul 03 18:02:39 2008 -0400
@@ -154,6 +154,17 @@
typedef struct physdev_unmap_pirq physdev_unmap_pirq_t;
DEFINE_XEN_GUEST_HANDLE(physdev_unmap_pirq_t);
+#define PHYSDEVOP_manage_pci_add 15
+#define PHYSDEVOP_manage_pci_remove 16
+struct physdev_manage_pci {
+ /* IN */
+ uint8_t bus;
+ uint8_t devfn;
+};
+
+typedef struct physdev_manage_pci physdev_manage_pci_t;
+DEFINE_XEN_GUEST_HANDLE(physdev_manage_pci_t);
+
/*
* Argument to physdev_op_compat() hypercall. Superceded by new physdev_op()
* hypercall since 0x00030202.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|