diff options
author | Peter Xu <peterx@redhat.com> | 2017-07-17 17:02:30 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-08-02 00:13:25 +0300 |
commit | 07f7b73398de3b60f28301a9af2a2338710105c7 (patch) | |
tree | da60d1f473c3fbdd8606c2ff559a7a005c5704e1 /include/hw/i386 | |
parent | 892721d91d9deb2affe4e61334b1dd1b43728f92 (diff) |
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/hw/i386')
-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 */ |