diff options
| author | Alexey Kardashevskiy | 2015-05-07 07:33:28 +0200 |
|---|---|---|
| committer | Alexander Graf | 2015-06-03 23:56:50 +0200 |
| commit | 12fd28535891572be7aaf862a03019257dafa425 (patch) | |
| tree | 62fed9730d8aaf4098b0ee69de15d4d7c58946cd /include/exec/cpu-defs.h | |
| parent | spapr_pci: Fix unsafe signed/unsigned comparisons (diff) | |
| download | qemu-12fd28535891572be7aaf862a03019257dafa425.tar.gz qemu-12fd28535891572be7aaf862a03019257dafa425.tar.xz qemu-12fd28535891572be7aaf862a03019257dafa425.zip | |
spapr_iommu: Disable in-kernel IOMMU tables for >4GB windows
The existing KVM_CREATE_SPAPR_TCE ioctl only support 4G windows max as
the window size parameter to the kernel ioctl() is 32-bit so
there's no way of expressing a TCE window > 4GB.
We are going to add huge DMA windows support so this will create small
window and unexpectedly fail later.
This disables KVM_CREATE_SPAPR_TCE for windows bigger that 4GB.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/exec/cpu-defs.h')
0 files changed, 0 insertions, 0 deletions
