TLB entries are usually tagged with some ids such as the asid
or pasid. When propagating an invalidation command from the
guest to the host, we need to pass this id.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
---
include/exec/memory.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/exec/memory.h b/include/exec/memory.h
index d4486d4e6b..93150e1450 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -75,6 +75,7 @@ struct IOMMUTLBEntry {
hwaddr translated_addr;
hwaddr addr_mask; /* 0xfff = 4k translation */
IOMMUAccessFlags perm;
+ uint32_t arch_id; /* architecture specific ID tagging the TLB */
};
typedef struct IOMMUConfig {
--
2.17.1