mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
softmmu/vl: Remove the check for colons in -accel parameters
The new -accel option does not accept colons in the parameters anymore (since it does not convert the parameters to -machine accel=... parameters anymore). Thus we can now remove the check for colons in -accel: $ qemu-system-x86_64 -accel kvm:tcg qemu-system-x86_64: -accel kvm:tcg: invalid accelerator kvm:tcg Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Claudio Fontana <cfontana@suse.de> Message-Id: <20200618074001.13642-1-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b0c3cf9407
commit
2f7057ac97
1 changed files with 0 additions and 5 deletions
|
@ -3506,11 +3506,6 @@ void qemu_init(int argc, char **argv, char **envp)
|
||||||
g_slist_free(accel_list);
|
g_slist_free(accel_list);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
if (optarg && strchr(optarg, ':')) {
|
|
||||||
error_report("Don't use ':' with -accel, "
|
|
||||||
"use -M accel=... for now instead");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case QEMU_OPTION_usb:
|
case QEMU_OPTION_usb:
|
||||||
olist = qemu_find_opts("machine");
|
olist = qemu_find_opts("machine");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue