Skip to content

Commit c76ee1f

Browse files
author
Fabiano Rosas
committed
s390x: Fix CSS migration
Commit a55ae46 ("s390: move css_migration_enabled from machine to css.c") disabled CSS migration globally instead of doing it per-instance. CC: Paolo Bonzini <[email protected]> CC: [email protected] #9.1 Fixes: a55ae46 ("s390: move css_migration_enabled from machine to css.c") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2704 Reviewed-by: Thomas Huth <[email protected]> Message-Id: <[email protected]> Signed-off-by: Fabiano Rosas <[email protected]>
1 parent 35049eb commit c76ee1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/s390x/s390-virtio-ccw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,6 +1244,7 @@ static void ccw_machine_2_9_instance_options(MachineState *machine)
12441244
s390_cpudef_featoff_greater(12, 1, S390_FEAT_ZPCI);
12451245
s390_cpudef_featoff_greater(12, 1, S390_FEAT_ADAPTER_INT_SUPPRESSION);
12461246
s390_cpudef_featoff_greater(12, 1, S390_FEAT_ADAPTER_EVENT_NOTIFICATION);
1247+
css_migration_enabled = false;
12471248
}
12481249

12491250
static void ccw_machine_2_9_class_options(MachineClass *mc)
@@ -1256,7 +1257,6 @@ static void ccw_machine_2_9_class_options(MachineClass *mc)
12561257
ccw_machine_2_10_class_options(mc);
12571258
compat_props_add(mc->compat_props, hw_compat_2_9, hw_compat_2_9_len);
12581259
compat_props_add(mc->compat_props, compat, G_N_ELEMENTS(compat));
1259-
css_migration_enabled = false;
12601260
}
12611261
DEFINE_CCW_MACHINE(2, 9);
12621262

0 commit comments

Comments
 (0)