diff options
| author | Peter Xu | 2017-07-17 11:02:30 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-08-01 23:13:25 +0200 |
| commit | 07f7b73398de3b60f28301a9af2a2338710105c7 (patch) | |
| tree | da60d1f473c3fbdd8606c2ff559a7a005c5704e1 /include | |
| parent | intel_iommu: fix iova for pt (diff) | |
| download | qemu-07f7b73398de3b60f28301a9af2a2338710105c7.tar.gz qemu-07f7b73398de3b60f28301a9af2a2338710105c7.tar.xz qemu-07f7b73398de3b60f28301a9af2a2338710105c7.zip | |
intel_iommu: use access_flags for iotlb
It was cached by read/write separately. Let's merge them.
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/i386/intel_iommu.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/i386/intel_iommu.h b/include/hw/i386/intel_iommu.h index 08d8a26d13..ac15e6be14 100644 --- a/include/hw/i386/intel_iommu.h +++ b/include/hw/i386/intel_iommu.h @@ -103,8 +103,7 @@ struct VTDIOTLBEntry { uint16_t domain_id; uint64_t slpte; uint64_t mask; - bool read_flags; - bool write_flags; + uint8_t access_flags; }; /* VT-d Source-ID Qualifier types */ |
