Message ID | 166431773251.2571033.17308966326809405523.stgit@omen (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [PULL,1/2] vfio/migration: Fix incorrect initialization value for parameters in VFIOMigration | expand |
diff --git a/hw/vfio/migration.c b/hw/vfio/migration.c index a6ad1f894561..3de4252111ee 100644 --- a/hw/vfio/migration.c +++ b/hw/vfio/migration.c @@ -806,6 +806,8 @@ static int vfio_migration_init(VFIODevice *vbasedev, } vbasedev->migration = g_new0(VFIOMigration, 1); + vbasedev->migration->device_state = VFIO_DEVICE_STATE_RUNNING; + vbasedev->migration->vm_running = runstate_is_running(); ret = vfio_region_setup(obj, vbasedev, &vbasedev->migration->region, info->index, "migration");