22 Nov, 2011

1 commit

  • This patch introduces new structures of grant table V2, grant table V2 is an
    extension from V1. Grant table is shared between guest and Xen, and Xen is
    responsible to do corresponding work for grant operations, such as: figure
    out guest's grant table version, perform different actions based on
    different grant table version, etc. Although full-page structure of V2
    is different from V1, it play the same role as V1.

    Acked-by: Ian Campbell
    Signed-off-by: Annie Li
    Signed-off-by: Konrad Rzeszutek Wilk

    Annie Li
     

07 Nov, 2011

1 commit


27 Sep, 2011

1 commit

  • This patches implements the xen_platform_op hypercall, to pass the parsed
    ACPI info to hypervisor.

    Signed-off-by: Yu Ke
    Signed-off-by: Tian Kevin
    Signed-off-by: Jeremy Fitzhardinge
    [v1: Added DEFINE_GUEST.. in appropiate headers]
    [v2: Ripped out typedefs]
    Signed-off-by: Konrad Rzeszutek Wilk

    Yu Ke
     

21 Jun, 2011

1 commit


06 Jun, 2011

1 commit

  • Get the information about the VGA console hardware from Xen, and put
    it into the form the bootloader normally generates, so that the rest
    of the kernel can deal with VGA as usual.

    [ Impact: make VGA console work in dom0 ]

    Signed-off-by: Jeremy Fitzhardinge
    [v1: Rebased on 2.6.39]
    [v2: Removed incorrect comments and fixed compile warnings]
    Signed-off-by: Konrad Rzeszutek Wilk

    Jeremy Fitzhardinge
     

27 May, 2011

1 commit

  • This patch provides a shim between the kernel-internal cleancache
    API (see Documentation/mm/cleancache.txt) and the Xen Transcendent
    Memory ABI (see http://oss.oracle.com/projects/tmem).

    Xen tmem provides "hypervisor RAM" as an ephemeral page-oriented
    pseudo-RAM store for cleancache pages, shared cleancache pages,
    and frontswap pages. Tmem provides enterprise-quality concurrency,
    full save/restore and live migration support, compression
    and deduplication.

    A presentation showing up to 8% faster performance and up to 52%
    reduction in sectors read on a kernel compile workload, despite
    aggressive in-kernel page reclamation ("self-ballooning") can be
    found at:

    http://oss.oracle.com/projects/tmem/dist/documentation/presentations/TranscendentMemoryXenSummit2010.pdf

    Signed-off-by: Dan Magenheimer
    Reviewed-by: Jeremy Fitzhardinge
    Cc: Konrad Rzeszutek Wilk
    Cc: Matthew Wilcox
    Cc: Nick Piggin
    Cc: Mel Gorman
    Cc: Rik Van Riel
    Cc: Jan Beulich
    Cc: Chris Mason
    Cc: Andreas Dilger
    Cc: Ted Ts'o
    Cc: Mark Fasheh
    Cc: Joel Becker
    Cc: Nitin Gupta

    Dan Magenheimer
     

26 Feb, 2011

1 commit


25 Jun, 2008

2 commits

  • Xen has a pte update function which will update a pte while preserving
    its accessed and dirty bits. This means that ptep_modify_prot_start() can be
    implemented as a simple read of the pte value. The hardware may
    update the pte in the meantime, but ptep_modify_prot_commit() updates it while
    preserving any changes that may have happened in the meantime.

    The updates in ptep_modify_prot_commit() are batched if we're currently in lazy
    mmu mode.

    The mmu_update hypercall can take a batch of updates to perform, but
    this code doesn't make particular use of that feature, in favour of
    using generic multicall batching to get them all into the hypervisor.

    The net effect of this is that each mprotect pte update turns from two
    expensive trap-and-emulate faults into they hypervisor into a single
    hypercall whose cost is amortized in a batched multicall.

    Signed-off-by: Jeremy Fitzhardinge
    Acked-by: Linus Torvalds
    Acked-by: Hugh Dickins
    Signed-off-by: Ingo Molnar

    Jeremy Fitzhardinge
     
  • This patch updates the xen guest to use the pvclock structs
    and helper functions.

    Signed-off-by: Gerd Hoffmann
    Acked-by: Jeremy Fitzhardinge
    Signed-off-by: Avi Kivity

    Gerd Hoffmann
     

25 Apr, 2008

2 commits

  • Add xen VIRQ numbers defined for arch specific use.
    ia64/xen domU uses VIRQ_ARCH_0 for virtual itc timer.
    Although all those constants aren't used yet by ia64
    at this moment, add all arch specific VIRQ numbers.

    Signed-off-by: Isaku Yamahata
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Isaku Yamahata
     
  • Add xen hypercall numbers defined for arch specific use.
    ia64/xen domU uses __HYPERVISOR_arch_1 to manipulate paravirtualized
    IOSAPIC. Although all those constants aren't used yet by IA64 at this
    moment, add all arch specific hypercall numbers.

    Signed-off-by: Isaku Yamahata
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Isaku Yamahata
     

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