xen/balloon: find non-conflicting regions to place hotplugged memory
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 24 Jun 2015 14:58:42 +0000 (15:58 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Fri, 23 Oct 2015 13:20:03 +0000 (14:20 +0100)
commit55b3da98a40dbb3776f7454daf0d95dde25c33d2
tree8785a1fb0ea443d60e345d87b7b5d5d474da539a
parentf5775e0b6116b7e2425ccf535243b21768566d87
xen/balloon: find non-conflicting regions to place hotplugged memory

Instead of placing hotplugged memory at the end of RAM (which may
conflict with PCI devices or reserved regions) use allocate_resource()
to get a new, suitably aligned resource that does not conflict.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
---
v3:
- Remove stale comment.
drivers/xen/balloon.c