diff options
author | Alexander Graf | 2014-07-11 03:24:39 +0200 |
---|---|---|
committer | Alexander Graf | 2014-09-08 12:50:47 +0200 |
commit | 261265cc912b375649fcdf7aded0f87359dba544 (patch) | |
tree | 3b92fe4e08e7984bcc566c4c6cde696b67484904 /async.c | |
parent | spapr: add uuid/host details to device tree (diff) | |
download | qemu-261265cc912b375649fcdf7aded0f87359dba544.tar.gz qemu-261265cc912b375649fcdf7aded0f87359dba544.tar.xz qemu-261265cc912b375649fcdf7aded0f87359dba544.zip |
PPC: mac99: Move NVRAM to page boundary when necessary
When running KVM we have to adhere to host page boundaries for memory slots.
Unfortunately the NVRAM on mac99 is a 4k RAM hole inside of an MMIO flash
area.
So if our host is configured with 64k page size, we can't use the mac99 target
with KVM. This is a real shame, as this limitation is not really an issue - we
can easily map NVRAM somewhere else and at least Linux and Mac OS X use it
at their new location.
So in that emergency case when it's about failing to run at all and moving NVRAM
to a place it shouldn't be at, choose the latter.
This patch enables -M mac99 with KVM on 64k page size hosts.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'async.c')
0 files changed, 0 insertions, 0 deletions