ia64/linux-2.6.18-xen.hg

changeset 592:a2e385815f36

Add hypercall for adding and removing PCI devices

Signed-off-by: Joshua LeVasseur <joshua.levasseur@netronome.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jul 04 17:53:20 2008 +0100 (2008-07-04)
parents cdadea74443c
children bb937c2f7382
files include/xen/interface/physdev.h
line diff
     1.1 --- a/include/xen/interface/physdev.h	Fri Jul 04 11:59:59 2008 +0100
     1.2 +++ b/include/xen/interface/physdev.h	Fri Jul 04 17:53:20 2008 +0100
     1.3 @@ -154,6 +154,17 @@ struct physdev_unmap_pirq {
     1.4  typedef struct physdev_unmap_pirq physdev_unmap_pirq_t;
     1.5  DEFINE_XEN_GUEST_HANDLE(physdev_unmap_pirq_t);
     1.6  
     1.7 +#define PHYSDEVOP_manage_pci_add         15
     1.8 +#define PHYSDEVOP_manage_pci_remove      16
     1.9 +struct physdev_manage_pci {
    1.10 +    /* IN */
    1.11 +    uint8_t bus;
    1.12 +    uint8_t devfn;
    1.13 +};
    1.14 +
    1.15 +typedef struct physdev_manage_pci physdev_manage_pci_t;
    1.16 +DEFINE_XEN_GUEST_HANDLE(physdev_manage_pci_t);
    1.17 +
    1.18  /*
    1.19   * Argument to physdev_op_compat() hypercall. Superceded by new physdev_op()
    1.20   * hypercall since 0x00030202.