alistair23-linux/include/xen
Juergen Gross 96edd61dcf xen/balloon: don't online new memory initially
When setting up the Xenstore watch for the memory target size the new
watch will fire at once. Don't try to reach the configured target size
by onlining new memory in this case, as the current memory size will
be smaller in almost all cases due to e.g. BIOS reserved pages.

Onlining new memory will lead to more problems e.g. undesired conflicts
with NVMe devices meant to be operated as block devices.

Instead remember the difference between target size and current size
when the watch fires for the first time and apply it to any further
size changes, too.

In order to avoid races between balloon.c and xen-balloon.c init calls
do the xen-balloon.c initialization from balloon.c.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
2017-07-23 08:13:18 +02:00
..
arm xen: fix HYPERVISOR_dm_op() prototype 2017-06-08 19:40:14 +02:00
interface xen: sync include/xen/interface/version.h 2017-06-15 08:50:34 +02:00
acpi.h
balloon.h xen/balloon: don't online new memory initially 2017-07-23 08:13:18 +02:00
events.h xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next online VCPU 2017-06-13 15:30:27 +02:00
features.h
grant_table.h xen/grant-table: Add an helper to iterate over a specific number of grants 2015-10-23 14:20:46 +01:00
hvc-console.h
hvm.h
page.h x86/boot/e820: Clean up the E820 table size define names 2017-01-28 22:55:23 +01:00
platform_pci.h
swiotlb-xen.h xen-swiotlb: consolidate xen_swiotlb_dma_ops 2017-06-20 11:12:59 +02:00
tmem.h
xen-ops.h xen/pvh*: Support > 32 VCPUs at domain restore 2017-06-13 16:05:17 +02:00
xen.h xen/pvh: Bootstrap PVH guest 2017-02-07 08:07:01 -05:00
xenbus.h xen: modify xenstore watch event interface 2017-02-09 11:26:49 -05:00
xenbus_dev.h