mirror of
https://github.com/qemu/qemu.git
synced 2024-11-30 15:23:34 +08:00
vl.c: select_machine(): add selected machine type to error message
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
0e460ac329
commit
412d294ffd
@ -1674,7 +1674,7 @@ static MachineClass *select_machine(QDict *qdict, Error **errp)
|
||||
machine_class = find_machine(machine_type, machines);
|
||||
qdict_del(qdict, "type");
|
||||
if (!machine_class) {
|
||||
error_setg(errp, "unsupported machine type");
|
||||
error_setg(errp, "unsupported machine type: \"%s\"", optarg);
|
||||
}
|
||||
} else {
|
||||
machine_class = find_default_machine(machines);
|
||||
|
Loading…
Reference in New Issue
Block a user