Commit 2f7057ac authored by Thomas Huth's avatar Thomas Huth Committed by Paolo Bonzini
Browse files

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: default avatarThomas Huth <thuth@redhat.com>
Reviewed-by: default avatarClaudio Fontana <cfontana@suse.de>
Message-Id: <20200618074001.13642-1-thuth@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent b0c3cf94
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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");