qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

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>

authored by

Thomas Huth and committed by
Paolo Bonzini
2f7057ac b0c3cf94

-5
-5
softmmu/vl.c
··· 3506 3506 g_slist_free(accel_list); 3507 3507 exit(0); 3508 3508 } 3509 - if (optarg && strchr(optarg, ':')) { 3510 - error_report("Don't use ':' with -accel, " 3511 - "use -M accel=... for now instead"); 3512 - exit(1); 3513 - } 3514 3509 break; 3515 3510 case QEMU_OPTION_usb: 3516 3511 olist = qemu_find_opts("machine");