From 3fe13fe16e2147ccbab037ace60e2bd3831094fd Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Mon, 22 Apr 2019 18:04:46 -0300 Subject: qtest: Move accel code to accel/qtest.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QTest has two parts: the server (-qtest) and the accelerator (-machine accel=qtest). The accelerator depends on CONFIG_POSIX due to its usage of sigwait(), but the server doesn't. Move the accel code to accel/qtest.c. Later we will disable compilation of accel/qtest.c on non-POSIX systems. Signed-off-by: Eduardo Habkost Message-Id: <20190422210448.2488-2-ehabkost@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé [thuth: added fixup for MAINTAINERS file] Signed-off-by: Thomas Huth --- accel/Makefile.objs | 1 + 1 file changed, 1 insertion(+) (limited to 'accel/Makefile.objs') diff --git a/accel/Makefile.objs b/accel/Makefile.objs index c3718a1..2a5ed46 100644 --- a/accel/Makefile.objs +++ b/accel/Makefile.objs @@ -1,4 +1,5 @@ obj-$(CONFIG_SOFTMMU) += accel.o +obj-$(CONFIG_SOFTMMU) += qtest.o obj-$(CONFIG_KVM) += kvm/ obj-$(CONFIG_TCG) += tcg/ obj-y += stubs/ -- cgit v1.1