07 Nov, 2011

1 commit

  • * 'stable/cleanups-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    xen: use static initializers in xen-balloon.c
    Xen: fix braces and tabs coding style issue in xenbus_probe.c
    Xen: fix braces coding style issue in xenbus_probe.h
    Xen: fix whitespaces,tabs coding style issue in drivers/xen/pci.c
    Xen: fix braces coding style issue in gntdev.c and grant-table.c
    Xen: fix whitespaces,tabs coding style issue in drivers/xen/events.c
    Xen: fix whitespaces,tabs coding style issue in drivers/xen/balloon.c

    Fix up trivial whitespace-conflicts in
    drivers/xen/{balloon.c,pci.c,xenbus/xenbus_probe.c}

    Linus Torvalds
     

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
     

27 Aug, 2011

1 commit

  • Notifier functions are expected to return NOTIFY_* codes, not -E...
    ones. In particular, since the respective hypercalls failing is not
    fatal to the operation of the Dom0 kernel, it must be avoided to
    return negative values here as those would make it appear as if
    NOTIFY_STOP_MASK wa set, suppressing further notification calls to
    other interested parties (which is also why we don't want to use
    notifier_from_errno() here).

    While at it, also notify the user of a failed hypercall.

    Signed-off-by: Jan Beulich
    [v1: Added dev_err and the disable MSI/MSI-X call]
    [v2: Removed the disable MSI/MSI-X call]
    Signed-off-by: Konrad Rzeszutek Wilk

    Jan Beulich
     

27 Jul, 2011

1 commit


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