diff options
author | Peter Xu | 2017-01-06 05:06:13 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2017-01-10 04:56:58 +0100 |
commit | 8cdcf3c1e58d04b6811956d7608efeb66c42d719 (patch) | |
tree | d5f3dbb9e34d5d459259947639ddb8b46ec71056 /include/migration/vmstate.h | |
parent | migration: allow to prioritize save state entries (diff) | |
download | qemu-8cdcf3c1e58d04b6811956d7608efeb66c42d719.tar.gz qemu-8cdcf3c1e58d04b6811956d7608efeb66c42d719.tar.xz qemu-8cdcf3c1e58d04b6811956d7608efeb66c42d719.zip |
intel_iommu: allow migration
IOMMU needs to be migrated before all the PCI devices (in case there are
devices that will request for address translation). So marking it with a
priority higher than the default (which PCI devices and other belong).
Migration framework handled the rest.
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>
Diffstat (limited to 'include/migration/vmstate.h')
-rw-r--r-- | include/migration/vmstate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 1a228872fa..2125829a16 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -188,6 +188,7 @@ enum VMStateFlags { typedef enum { MIG_PRI_DEFAULT = 0, + MIG_PRI_IOMMU, /* Must happen before PCI devices */ MIG_PRI_MAX, } MigrationPriority; |