OSDN Git Service

x86-iommu: use DeviceClass properties
authorPeter Xu <peterx@redhat.com>
Fri, 19 May 2017 03:19:42 +0000 (11:19 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 25 May 2017 18:25:27 +0000 (21:25 +0300)
commit0b77d30a43bf21c7bf6af43cd546d8270bec7b99
tree8fd526749132f1a57e992dba42b8d89a6b942754
parentad523590f62cf5d44e97388de370d27b95b25aff
x86-iommu: use DeviceClass properties

No reason to keep tens of lines if we can do it actually far shorter.

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/x86-iommu.c