Revision 0b250250b7e7298e0001faf76015da4b03b6b1b3 authored by Prasad Singamsetty on 14 November 2017, 23:13:50 UTC, committed by Michael Roth on 21 June 2018, 01:45:05 UTC
The current implementation of Intel IOMMU code only supports 39 bits
iova address width. This patch provides a new parameter (x-aw-bits)
for intel-iommu to extend its address width to 48 bits but keeping the
default the same (39 bits). The reason for not changing the default
is to avoid potential compatibility problems with live migration of
intel-iommu enabled QEMU guest. The only valid values for 'x-aw-bits'
parameter are 39 and 48.

After enabling larger address width (48), we should be able to map
larger iova addresses in the guest. For example, a QEMU guest that
is configured with large memory ( >=1TB ). To check whether 48 bits
aw is enabled, we can grep in the guest dmesg output with line:
"DMAR: Host address width 48".

Signed-off-by: Prasad Singamsetty <prasad.singamsety@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 37f51384ae05bd50f83308339dbffa3e78404874)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent d45364e
History
File Mode Size
Makefile.objs -rw-r--r-- 310 bytes
block-core.json -rw-r--r-- 123.7 KB
block.json -rw-r--r-- 9.5 KB
char.json -rw-r--r-- 13.5 KB
common.json -rw-r--r-- 1.8 KB
crypto.json -rw-r--r-- 8.5 KB
introspect.json -rw-r--r-- 7.4 KB
migration.json -rw-r--r-- 35.0 KB
net.json -rw-r--r-- 16.5 KB
opts-visitor.c -rw-r--r-- 15.0 KB
qapi-clone-visitor.c -rw-r--r-- 5.3 KB
qapi-dealloc-visitor.c -rw-r--r-- 3.6 KB
qapi-util.c -rw-r--r-- 2.0 KB
qapi-visit-core.c -rw-r--r-- 9.9 KB
qmp-dispatch.c -rw-r--r-- 3.7 KB
qmp-event.c -rw-r--r-- 1.3 KB
qmp-registry.c -rw-r--r-- 2.1 KB
qobject-input-visitor.c -rw-r--r-- 20.2 KB
qobject-output-visitor.c -rw-r--r-- 7.6 KB
rocker.json -rw-r--r-- 7.5 KB
run-state.json -rw-r--r-- 7.8 KB
sockets.json -rw-r--r-- 3.0 KB
string-input-visitor.c -rw-r--r-- 9.0 KB
string-output-visitor.c -rw-r--r-- 10.1 KB
tpm.json -rw-r--r-- 2.8 KB
trace-events -rw-r--r-- 2.0 KB
trace.json -rw-r--r-- 2.8 KB
transaction.json -rw-r--r-- 5.3 KB
ui.json -rw-r--r-- 25.7 KB

back to top