13 Nov, 2010

1 commit

  • This hypercall allows Xen to specify a non-default location for the
    machine to physical mapping. This capability is used when running a 32
    bit domain 0 on a 64 bit hypervisor to shrink the hypervisor hole to
    exactly the size required.

    [ Impact: add Xen hypercall definitions ]

    Signed-off-by: Ian Campbell
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Stefano Stabellini

    Ian Campbell
     

23 Oct, 2010

1 commit

  • Rather than simply using a flat memory map from Xen, use its provided
    E820 map. This allows the domain builder to tell the domain to reserve
    space for more pages than those initially provided at domain-build time.

    It also allows the host to specify holes in the address space (for
    PCI-passthrough, for example).

    Signed-off-by: Ian Campbell
    Signed-off-by: Jeremy Fitzhardinge

    Ian Campbell
     

08 Jun, 2010

2 commits

  • A memory region must be physically contiguous in order to be accessed
    through DMA. This patch adds xen_create_contiguous_region, which
    ensures a region of contiguous virtual memory is also physically
    contiguous.

    Based on Stephen Tweedie's port of the 2.6.18-xen version.

    Remove contiguous_bitmap[] as it's no longer needed.

    Ported from linux-2.6.18-xen.hg 707:e410857fd83c

    [ Impact: add Xen-internal API to make pages phys-contig ]

    Signed-off-by: Alex Nixon
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Ian Campbell
    Signed-off-by: Konrad Rzeszutek Wilk

    Alex Nixon
     
  • * xen_create_contiguous_region needs access to the balloon lock to
    ensure memory doesn't change under its feet, so expose the balloon
    lock
    * Change the name of the lock to xen_reservation_lock, to imply it's
    now less-specific usage.

    [ Impact: cleanup ]

    Signed-off-by: Alex Nixon
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Konrad Rzeszutek Wilk

    Alex Nixon
     

27 May, 2008

1 commit


25 Apr, 2008

1 commit

  • The balloon driver allows memory to be dynamically added or removed from the domain,
    in order to allow host memory to be balanced between multiple domains.

    This patch introduces the Xen balloon driver, though it currently only
    allows a domain to be shrunk from its initial size (and re-grown back to
    that size). A later patch will add the ability to grow a domain beyond
    its initial size.

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

    Jeremy Fitzhardinge
     

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