diff options
author | Juergen Gross <jgross@suse.com> | 2017-10-26 12:50:56 +0300 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-10-26 15:11:44 +0300 |
commit | 5266b8e4445cc836c46689d80a9ff539fa3bfbda (patch) | |
tree | be037f49bc59adf3a470d8807f34be4f3a4bbfc0 /.mailmap | |
parent | 298d275d4d9bea3524ff4bc76678c140611d8a8d (diff) | |
download | linux-5266b8e4445cc836c46689d80a9ff539fa3bfbda.tar.xz |
xen: fix booting ballooned down hvm guest
Commit 96edd61dcf44362d3ef0bed1a5361e0ac7886a63 ("xen/balloon: don't
online new memory initially") introduced a regression when booting a
HVM domain with memory less than mem-max: instead of ballooning down
immediately the system would try to use the memory up to mem-max
resulting in Xen crashing the domain.
For HVM domains the current size will be reflected in Xenstore node
memory/static-max instead of memory/target.
Additionally we have to trigger the ballooning process at once.
Cc: <stable@vger.kernel.org> # 4.13
Fixes: 96edd61dcf44362d3ef0bed1a5361e0ac7886a63 ("xen/balloon: don't
online new memory initially")
Reported-by: Simon Gaiser <hw42@ipsumj.de>
Suggested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions