From e76f68d3cc931a6db6dcc8a4aa240d08656bc3f8 Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Thu, 10 Dec 2020 16:58:05 +0100 Subject: accel/tcg: Remove deprecated '-tb-size' option The '-tb-size' option (replaced by '-accel tcg,tb-size') is deprecated since 5.0 (commit fe174132478). Remove it. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20201202112714.1223783-1-philmd@redhat.com> Reviewed-by: Ján Tomko Signed-off-by: Thomas Huth Message-Id: <20201210155808.233895-2-thuth@redhat.com> Signed-off-by: Paolo Bonzini --- softmmu/vl.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'softmmu') diff --git a/softmmu/vl.c b/softmmu/vl.c index 3921a04f77..da9a0bdb94 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -3286,14 +3286,6 @@ void qemu_init(int argc, char **argv, char **envp) exit(1); } 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: icount_opts = qemu_opts_parse_noisily(qemu_find_opts("icount"), optarg, true); -- cgit v1.2.3-55-g7522