[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] Add hypercall for adding and removing PCI devices



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1215190400 -3600
# Node ID a2e385815f36b67e1542834f7ca0b18df6211bfd
# Parent  cdadea74443c93e77ce142a48819cf003abf6b73
Add hypercall for adding and removing PCI devices

Signed-off-by: Joshua LeVasseur <joshua.levasseur@xxxxxxxxxxxxx>
---
 include/xen/interface/physdev.h |   11 +++++++++++
 1 files changed, 11 insertions(+)

diff -r cdadea74443c -r a2e385815f36 include/xen/interface/physdev.h
--- a/include/xen/interface/physdev.h   Fri Jul 04 11:59:59 2008 +0100
+++ b/include/xen/interface/physdev.h   Fri Jul 04 17:53:20 2008 +0100
@@ -154,6 +154,17 @@ typedef struct physdev_unmap_pirq physde
 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.