diff options
author | Yi Sun <yi.y.sun@linux.intel.com> | 2019-12-05 17:54:39 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-01-05 07:03:03 -0500 |
commit | 8fdee7118defeb34441d860047e3e0cfd9da9c26 (patch) | |
tree | f4b58d07756ec4e37aa1d62ef94582fef45ee044 /qapi | |
parent | 087ed8a5827d10cd346ba5fa89845f14b9dff377 (diff) | |
download | qemu-8fdee7118defeb34441d860047e3e0cfd9da9c26.zip qemu-8fdee7118defeb34441d860047e3e0cfd9da9c26.tar.gz qemu-8fdee7118defeb34441d860047e3e0cfd9da9c26.tar.bz2 |
intel_iommu: fix bug to read DMAR_RTADDR_REG
Should directly read DMAR_RTADDR_REG but not using 's->root'.
Because 's->root' is modified in 'vtd_root_table_setup()' so
that the first 12 bits are omitted. This causes the guest
iommu debugfs cannot show pasid tables.
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
Message-Id: <20191205095439.29114-1-yi.y.sun@linux.intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions