diff options
author | Alexander Graf <agraf@suse.de> | 2014-02-21 10:38:51 +0100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-03-05 03:07:01 +0100 |
commit | 3c3b0ddefac9255f29f5e5c2eb346d0a27e6d022 (patch) | |
tree | c3ba8865be5363fc989f5cb1593aabfd9f3515c1 /cputlb.c | |
parent | e5d7d2b0f55a3b90965044a0ea77e30700a5e136 (diff) | |
download | hqemu-3c3b0ddefac9255f29f5e5c2eb346d0a27e6d022.zip hqemu-3c3b0ddefac9255f29f5e5c2eb346d0a27e6d022.tar.gz |
PPC: sPAPR: Only use getpagesize() when we run with kvm
We currently size the msi window trap page according to the host's page
size so that we poke a working hole into a memory slot in case we overlap.
However, this is only ever necessary with KVM active. Without KVM, we should
rather try to be host platform agnostic and use a constant size: 4k.
This fixes a build breakage on win32 hosts.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cputlb.c')
0 files changed, 0 insertions, 0 deletions