cpus: remove checks for non-NULL cpus_accel
commit994aa172006a545e0e854ebbdb2edef6030f3ad3
authorClaudio Fontana <cfontana@suse.de>
Wed, 19 Aug 2020 14:01:03 +0000 (19 16:01 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Oct 2020 14:41:22 +0000 (5 16:41 +0200)
tree51cf5158e68cfd476dfa64ae9f75c61d0e22c9ca
parentff815bcf250455a59aa86df10870a877e8ef8ea4
cpus: remove checks for non-NULL cpus_accel

now that all accelerators support the CpusAccel interface,
we can remove most checks for non-NULL cpus_accel,
we just add a sanity check/assert at vcpu creation.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
softmmu/cpus.c