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>
This commit is contained in:
Peter Xu 2017-07-17 17:02:30 +08:00 committed by Michael S. Tsirkin
parent 892721d91d
commit 07f7b73398
2 changed files with 8 additions and 10 deletions

View file

@ -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 */