vl: allow -incoming defer with -preconfig
Now that there is no RUN_STATE_PRECONFIG anymore that can conflict with RUN_STATE_INMIGRATE, we can allow -incoming defer with -preconfig. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b4e1a34211
commit
8fafaa04c3
@ -2986,9 +2986,8 @@ static void qemu_validate_options(void)
|
|||||||
"mutually exclusive");
|
"mutually exclusive");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
if (incoming && preconfig_requested) {
|
if (incoming && preconfig_requested && strcmp(incoming, "defer") != 0) {
|
||||||
error_report("'preconfig' and 'incoming' options are "
|
error_report("'preconfig' supports '-incoming defer' only");
|
||||||
"mutually exclusive");
|
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user