OSDN Git Service

s390x/pci: make S390PCIIOMMU inherit Object
authorYi Min Zhao <zyimin@linux.vnet.ibm.com>
Thu, 8 Dec 2016 05:02:24 +0000 (13:02 +0800)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 20 Jan 2017 08:48:09 +0000 (09:48 +0100)
commitde91ea92e9082609dc413f0109abc77283b4ff0a
tree8fde58168300d4fabd02f88a2d0bc72739395d51
parent4cbd6c41fa3aa901e12e8158e8d22dd8f70f7a90
s390x/pci: make S390PCIIOMMU inherit Object

Currently S390PCIIOMMU is a normal struct. Let's make it inherit Object
in order to take advantage of QOM. In addition, we move some stuff
related to IOMMU from S390PCIBusDevice to S390PCIIOMMU.

Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Acked-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-pci-bus.c
hw/s390x/s390-pci-bus.h
hw/s390x/s390-pci-inst.c
hw/s390x/s390-pci-inst.h