diff options
author | Bharata B Rao | 2015-09-24 10:22:48 +0200 |
---|---|---|
committer | David Gibson | 2015-10-23 01:38:10 +0200 |
commit | 7735fedaf490cf9213cd8d487272b69a4987c851 (patch) | |
tree | 9a42cc34de6858d8d904d9d21b7c362fec7ea9b5 /include/hw/pci-host/spapr.h | |
parent | spapr: Allocate HTAB from machine init (diff) | |
download | qemu-7735fedaf490cf9213cd8d487272b69a4987c851.tar.gz qemu-7735fedaf490cf9213cd8d487272b69a4987c851.tar.xz qemu-7735fedaf490cf9213cd8d487272b69a4987c851.zip |
spapr: Abort when HTAB of requested size isn't allocated
Terminate the guest when HTAB of requested size isn't allocated by
the host.
When memory hotplug is attempted on a guest that has booted with
less than requested HTAB size, the guest kernel will not be able
to gracefully fail the hotplug request. This patch will ensure that
we never end up in a situation where memory hotplug fails due to
less than requested HTAB size.
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/pci-host/spapr.h')
0 files changed, 0 insertions, 0 deletions