mirror of
https://github.com/qemu/qemu.git
synced 2025-07-27 03:38:45 +00:00
accel/tcg: Remove deprecated '-tb-size' option
The '-tb-size' option (replaced by '-accel tcg,tb-size') is
deprecated since 5.0 (commit fe17413247
). Remove it.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201202112714.1223783-1-philmd@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201210155808.233895-2-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
4bfb024bc7
commit
e76f68d3cc
@ -2379,7 +2379,7 @@ void dump_exec_info(void)
|
|||||||
qemu_printf("Translation buffer state:\n");
|
qemu_printf("Translation buffer state:\n");
|
||||||
/*
|
/*
|
||||||
* Report total code size including the padding and TB structs;
|
* Report total code size including the padding and TB structs;
|
||||||
* otherwise users might think "-tb-size" is not honoured.
|
* otherwise users might think "-accel tcg,tb-size" is not honoured.
|
||||||
* For avg host size we use the precise numbers from tb_tree_stats though.
|
* For avg host size we use the precise numbers from tb_tree_stats though.
|
||||||
*/
|
*/
|
||||||
qemu_printf("gen code size %zu/%zu\n",
|
qemu_printf("gen code size %zu/%zu\n",
|
||||||
|
@ -100,13 +100,6 @@ QEMU 5.1 has three options:
|
|||||||
to the user to load all the images they need.
|
to the user to load all the images they need.
|
||||||
3. ``-bios <file>`` - Tells QEMU to load the specified file as the firmwrae.
|
3. ``-bios <file>`` - Tells QEMU to load the specified file as the firmwrae.
|
||||||
|
|
||||||
``-tb-size`` option (since 5.0)
|
|
||||||
'''''''''''''''''''''''''''''''
|
|
||||||
|
|
||||||
QEMU 5.0 introduced an alternative syntax to specify the size of the translation
|
|
||||||
block cache, ``-accel tcg,tb-size=``. The new syntax deprecates the
|
|
||||||
previously available ``-tb-size`` option.
|
|
||||||
|
|
||||||
``-show-cursor`` option (since 5.0)
|
``-show-cursor`` option (since 5.0)
|
||||||
'''''''''''''''''''''''''''''''''''
|
'''''''''''''''''''''''''''''''''''
|
||||||
|
|
||||||
@ -516,6 +509,11 @@ for the ``id`` parameter, which should now be used instead.
|
|||||||
|
|
||||||
The ``-no-kvm`` argument was a synonym for setting ``-machine accel=tcg``.
|
The ``-no-kvm`` argument was a synonym for setting ``-machine accel=tcg``.
|
||||||
|
|
||||||
|
``-tb-size`` option (removed in 6.0)
|
||||||
|
''''''''''''''''''''''''''''''''''''
|
||||||
|
|
||||||
|
QEMU 5.0 introduced an alternative syntax to specify the size of the translation
|
||||||
|
block cache, ``-accel tcg,tb-size=``.
|
||||||
|
|
||||||
QEMU Machine Protocol (QMP) commands
|
QEMU Machine Protocol (QMP) commands
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
@ -4111,14 +4111,6 @@ SRST
|
|||||||
Show cursor.
|
Show cursor.
|
||||||
ERST
|
ERST
|
||||||
|
|
||||||
DEF("tb-size", HAS_ARG, QEMU_OPTION_tb_size, \
|
|
||||||
"-tb-size n set TB size\n", QEMU_ARCH_ALL)
|
|
||||||
SRST
|
|
||||||
``-tb-size n``
|
|
||||||
Set TCG translation block cache size. Deprecated, use
|
|
||||||
'\ ``-accel tcg,tb-size=n``\ ' instead.
|
|
||||||
ERST
|
|
||||||
|
|
||||||
DEF("incoming", HAS_ARG, QEMU_OPTION_incoming, \
|
DEF("incoming", HAS_ARG, QEMU_OPTION_incoming, \
|
||||||
"-incoming tcp:[host]:port[,to=maxport][,ipv4][,ipv6]\n" \
|
"-incoming tcp:[host]:port[,to=maxport][,ipv4][,ipv6]\n" \
|
||||||
"-incoming rdma:host:port[,ipv4][,ipv6]\n" \
|
"-incoming rdma:host:port[,ipv4][,ipv6]\n" \
|
||||||
|
@ -3286,14 +3286,6 @@ void qemu_init(int argc, char **argv, char **envp)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case QEMU_OPTION_tb_size:
|
|
||||||
#ifndef CONFIG_TCG
|
|
||||||
error_report("TCG is disabled");
|
|
||||||
exit(1);
|
|
||||||
#endif
|
|
||||||
warn_report("The -tb-size option is deprecated, use -accel tcg,tb-size instead");
|
|
||||||
object_register_sugar_prop(ACCEL_CLASS_NAME("tcg"), "tb-size", optarg);
|
|
||||||
break;
|
|
||||||
case QEMU_OPTION_icount:
|
case QEMU_OPTION_icount:
|
||||||
icount_opts = qemu_opts_parse_noisily(qemu_find_opts("icount"),
|
icount_opts = qemu_opts_parse_noisily(qemu_find_opts("icount"),
|
||||||
optarg, true);
|
optarg, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user