sysemu/tcg: Only declare tcg_allowed when TCG is available
commitce4049e89344cc019fff75ab0ecc645af27400ca
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 26 May 2020 17:24:22 +0000 (26 19:24 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 12 Jun 2020 15:12:44 +0000 (12 11:12 -0400)
tree782c67efbee1e8d99c028e3831df7845bdf3e10d
parent33fb9bfaa4bef35b53affaf17368b439834de5f9
sysemu/tcg: Only declare tcg_allowed when TCG is available

When TCG is not available, the tcg_allowed variable does not exist.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200526172427.17460-3-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/sysemu/tcg.h