]> git.ipfire.org Git - thirdparty/qemu.git/commit - vl.c
Disallow colons in the parameter of "-accel"
authorThomas Huth <thuth@redhat.com>
Mon, 23 Sep 2019 12:00:29 +0000 (14:00 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 1 Oct 2019 09:54:17 +0000 (11:54 +0200)
commit3d5e90a50bd4ffa199166e01a365f5c5995534ae
tree1227116108c843742480fe1e7a6d65ff5b881feb
parente423455c4f23a1a828901c78fe6d03b7dde79319
Disallow colons in the parameter of "-accel"

Everybody who used something like "-machine accel=kvm:tcg" in the past
might be tempted to specify a similar list with the -accel parameter,
too, for example "-accel kvm:tcg". However, this is not how this
options is thought to be used, since each "-accel" should only take care
of one specific accelerator.

In the long run, we really should rework the "-accel" code completely,
so that it does not set "-machine accel=..." anymore internally, but
is completely independent from "-machine". For the short run, let's
make sure that users cannot use "-accel xyz:tcg", so that we avoid
that we have to deal with such cases in the wild later.

Message-Id: <20190930123505.11607-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/cdrom-test.c
vl.c