diff --git a/softmmu/vl.c b/softmmu/vl.c index b0b96f67fa..c9e9ede237 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -2357,6 +2357,10 @@ static void qemu_validate_options(const QDict *machine_opts) } } + if (loadvm && incoming) { + error_report("'incoming' and 'loadvm' options are mutually exclusive"); + exit(EXIT_FAILURE); + } if (loadvm && preconfig_requested) { error_report("'preconfig' and 'loadvm' options are " "mutually exclusive");