23 Sep, 2011

1 commit

  • Now that the hypercall interface changes are in -unstable, make the
    kernel side code not ignore the segment (aka domain) number anymore
    (which results in pretty odd behavior on such systems). Rather, if
    only the old interfaces are available, don't call them for devices on
    non-zero segments at all.

    Signed-off-by: Jan Beulich
    [v1: Edited git description]
    Signed-off-by: Konrad Rzeszutek Wilk

    Jan Beulich
     

02 Dec, 2010

1 commit

  • Use the new hypercall PHYSDEVOP_get_free_pirq to ask Xen to allocate a
    pirq. Remove the unsupported PHYSDEVOP_get_nr_pirqs hypercall to get the
    amount of pirq available.

    This fixes find_unbound_pirq that otherwise would return a number
    starting from nr_irqs that might very well be out of range in Xen.

    The symptom of this bug is that when you passthrough an MSI capable pci
    device to a PV on HVM guest, Linux would fail to enable MSIs on the
    device.

    Signed-off-by: Stefano Stabellini

    Stefano Stabellini
     

28 Oct, 2010

1 commit

  • Register a pci notifier to add (or remove) pci devices to Xen via
    hypercalls. Xen needs to know the pci devices present in the system to
    handle pci passthrough and even MSI remapping in the initial domain.

    Signed-off-by: Weidong Han
    Signed-off-by: Qing He
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Stefano Stabellini

    Weidong Han
     

23 Oct, 2010

3 commits


18 Jul, 2007

1 commit

  • Add Xen interface header files. These are taken fairly directly from
    the Xen tree, but somewhat rearranged to suit the kernel's conventions.

    Define macros and inline functions for doing hypercalls into the
    hypervisor.

    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Ian Pratt
    Signed-off-by: Christian Limpach
    Signed-off-by: Chris Wright

    Jeremy Fitzhardinge