qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] softmmu/vl: Remove the check for colons in -accel parameters
@ 2020-06-18  7:40 Thomas Huth
  2020-06-18  8:03 ` no-reply
  2020-07-03  5:34 ` Thomas Huth
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Huth @ 2020-06-18  7:40 UTC (permalink / raw)
  To: qemu-devel, Paolo Bonzini; +Cc: qemu-trivial

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>
---
 softmmu/vl.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/softmmu/vl.c b/softmmu/vl.c
index f669c06ede..273acfcf6b 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -3485,11 +3485,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");
-- 
2.18.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-03 17:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-18  7:40 [PATCH] softmmu/vl: Remove the check for colons in -accel parameters Thomas Huth
2020-06-18  8:03 ` no-reply
2020-06-18  8:24   ` Thomas Huth
2020-07-03  5:34 ` Thomas Huth
2020-07-03  7:28   ` Claudio Fontana
2020-07-03 17:22   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).