diff options
author | Thomas Huth <thuth@redhat.com> | 2020-06-18 09:40:01 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-10 18:04:54 -0400 |
commit | 2f7057ac97579f940139ac85d8b757d47ef0efab (patch) | |
tree | 0fb79ba3692e6e2966e665cf365661bfdf7a884f /softmmu/vl.c | |
parent | b0c3cf9407e642d74d1bbd18f8846872152a92df (diff) |
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>
Diffstat (limited to 'softmmu/vl.c')
-rw-r--r-- | softmmu/vl.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index a7a2e9e44a..f476ef89ed 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -3506,11 +3506,6 @@ void qemu_init(int argc, char **argv, char **envp) g_slist_free(accel_list); exit(0); } - if (optarg && strchr(optarg, ':')) { - error_report("Don't use ':' with -accel, " - "use -M accel=... for now instead"); - exit(1); - } break; case QEMU_OPTION_usb: olist = qemu_find_opts("machine"); |