diff --git a/accel.c b/accel.c index 2cf47337af449536a13b2ec51b89c3b6191ff293..0f3fceeb7c9d7666afa890881bd9ead8be854376 100644 --- a/accel.c +++ b/accel.c @@ -119,7 +119,6 @@ static void tcg_accel_class_init(ObjectClass *oc, void *data) { AccelClass *ac = ACCEL_CLASS(oc); ac->name = "tcg"; - ac->available = tcg_available; ac->init = tcg_init; ac->allowed = &tcg_allowed; } diff --git a/arch_init.c b/arch_init.c index c974f3fea920b62c4b82963e16b2381ce4381e4b..9b3e25d8050d0ecf238800ca0de9a255e3077b17 100644 --- a/arch_init.c +++ b/arch_init.c @@ -1337,11 +1337,6 @@ void cpudef_init(void) #endif } -int tcg_available(void) -{ - return 1; -} - int kvm_available(void) { #ifdef CONFIG_KVM diff --git a/include/sysemu/arch_init.h b/include/sysemu/arch_init.h index 769ec069b783142beef13a32baac864dc91bdf9e..54b36c16c46db7618720c1597d6b70664207f8dd 100644 --- a/include/sysemu/arch_init.h +++ b/include/sysemu/arch_init.h @@ -33,7 +33,6 @@ void do_smbios_option(QemuOpts *opts); void ram_mig_init(void); void cpudef_init(void); void audio_init(void); -int tcg_available(void); int kvm_available(void); int xen_available(void);