sysemu/hvf: Only declare hvf_allowed when HVF is available
commitf291cf54148e5b9e51c55b9056e4be546492a9ca
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 26 May 2020 17:24:23 +0000 (26 19:24 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 12 Jun 2020 15:12:44 +0000 (12 11:12 -0400)
tree5c713eb6f37ea090dcccb479db8150b6ea72ef0a
parentce4049e89344cc019fff75ab0ecc645af27400ca
sysemu/hvf: Only declare hvf_allowed when HVF is available

When HVF is not available, the hvf_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>
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200526172427.17460-4-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/sysemu/hvf.h