diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2017-07-04 23:53:55 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-07-11 11:04:02 +1000 |
commit | 2a0d90fed5b09e27854ac5ca2af836a8248c00c1 (patch) | |
tree | 3e598041fbda76c625beaedd570646ad1ba96f0b /hw/ppc/rs6000_mc.c | |
parent | 160bb67885c22f98e3045d9223e2fc915d61c274 (diff) | |
download | qemu-2a0d90fed5b09e27854ac5ca2af836a8248c00c1.zip qemu-2a0d90fed5b09e27854ac5ca2af836a8248c00c1.tar.gz qemu-2a0d90fed5b09e27854ac5ca2af836a8248c00c1.tar.bz2 |
spapr: Only report host/guest IOMMU page size mismatches on KVM
We print a warning if the spapr IOMMU isn't configured to support a page
size matching the host page size backing RAM. When that's the case we need
more complex logic to translate VFIO mappings, which is slower.
But, it's not so slow that it would be at all noticeable against the
general slowness of TCG. So, only warn when using KVM. This removes some
noisy and unhelpful warnings from make check on hosts with page sizes
which typically differ from those on POWER (e.g. Sparc).
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/ppc/rs6000_mc.c')
0 files changed, 0 insertions, 0 deletions