qtest: Don't compile qtest accel on non-POSIX systems
commita08052bc248632f8c16ef0c5b93e0611543e89cc
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 22 Apr 2019 21:04:47 +0000 (22 18:04 -0300)
committerThomas Huth <thuth@redhat.com>
Thu, 2 May 2019 14:56:33 +0000 (2 16:56 +0200)
treea2ed5414c8c870cb3eb93f6d4a53a8e247866877
parent3fe13fe16e2147ccbab037ace60e2bd3831094fd
qtest: Don't compile qtest accel on non-POSIX systems

qtest_available() will always return 0 on non-POSIX systems.
It's simpler to just not compile the accelerator code on those
systems instead of relying on the AccelClass::available function.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190422210448.2488-3-ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> [on mingw64]
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
accel/Makefile.objs
accel/qtest.c
include/sysemu/qtest.h