[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 5/6] syswrap: XEN_HVMOP_set_pci_link_route
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx> --- coregrind/m_syswrap/syswrap-xen.c | 7 +++++++ include/vki/vki-xen-hvm.h | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/coregrind/m_syswrap/syswrap-xen.c b/coregrind/m_syswrap/syswrap-xen.c index cd4f6f5..07329ba 100644 --- a/coregrind/m_syswrap/syswrap-xen.c +++ b/coregrind/m_syswrap/syswrap-xen.c @@ -813,6 +813,12 @@ PRE(hvm_op) PRE_XEN_HVMOP_READ(set_isa_irq_level, level); break; + case VKI_XEN_HVMOP_set_pci_link_route: + PRE_XEN_HVMOP_READ(set_pci_link_route, domid); + PRE_XEN_HVMOP_READ(set_pci_link_route, link); + PRE_XEN_HVMOP_READ(set_pci_link_route, isa_irq); + break; + default: bad_subop(tid, layout, arrghs, status, flags, "__HYPERVISOR_hvm_op", op); @@ -1345,6 +1351,7 @@ POST(hvm_op) switch (op) { case VKI_XEN_HVMOP_set_param: case VKI_XEN_HVMOP_set_isa_irq_level: + case VKI_XEN_HVMOP_set_pci_link_route: /* No output paramters */ break; diff --git a/include/vki/vki-xen-hvm.h b/include/vki/vki-xen-hvm.h index be7f236..8659eb8 100644 --- a/include/vki/vki-xen-hvm.h +++ b/include/vki/vki-xen-hvm.h @@ -18,6 +18,14 @@ struct vki_xen_hvm_set_isa_irq_level { }; typedef struct vki_xen_hvm_set_isa_irq_level vki_xen_hvm_set_isa_irq_level_t; +#define VKI_XEN_HVMOP_set_pci_link_route 4 +struct vki_xen_hvm_set_pci_link_route { + vki_xen_domid_t domid; + vki_uint8_t link; + vki_uint8_t isa_irq; +}; +typedef struct vki_xen_hvm_set_pci_link_route vki_xen_hvm_set_pci_link_route_t; + #endif // __VKI_XEN_HVM_H /*--------------------------------------------------------------------*/ -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |