intel_iommu: provide vtd_ce_get_type()
commit127ff5c356e1c2c1328ed2fbb582eb14e412b160
authorPeter Xu <peterx@redhat.com>
Fri, 19 May 2017 03:19:44 +0000 (19 11:19 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 25 May 2017 18:25:27 +0000 (25 21:25 +0300)
tree9f707d679b63d70495c5cfc4db09a9f14bd286f1
parent8f7d7161dd78142e77b96d7035682451154ed0d2
intel_iommu: provide vtd_ce_get_type()

Helper to fetch VT-d context entry type.

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>
Reviewed-by: Jason Wang <jasowang@redhat.com>
hw/i386/intel_iommu.c