mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
s390x/pci: introduce S390PCIBusDevice.iommu_enabled
We introduce iommu_enabled field for S390PCIBusDevice struct to track whether the iommu has been enabled for the device. This allows us to stop temporarily changing ->configured while en/disabling the iommu and to do conditional cleanup later. Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com> Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
This commit is contained in:
parent
e141dbadfa
commit
df6a050c82
2 changed files with 5 additions and 5 deletions
|
@ -219,6 +219,7 @@ typedef struct S390PCIBusDevice {
|
|||
bool configured;
|
||||
bool error_state;
|
||||
bool lgstg_blocked;
|
||||
bool iommu_enabled;
|
||||
uint32_t fh;
|
||||
uint32_t fid;
|
||||
uint64_t g_iota;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue