]> git.proxmox.com Git - mirror_qemu.git/commit
qtest: Move accel code to accel/qtest.c
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 22 Apr 2019 21:04:46 +0000 (18:04 -0300)
committerThomas Huth <thuth@redhat.com>
Thu, 2 May 2019 14:56:33 +0000 (16:56 +0200)
commit3fe13fe16e2147ccbab037ace60e2bd3831094fd
tree3433518ffb0ae3fca44a37c6bdec6b97c7848a36
parent5f55d64b38cd20c97c31929f1566f38e2c5ae44b
qtest: Move accel code to accel/qtest.c

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 <ehabkost@redhat.com>
Message-Id: <20190422210448.2488-2-ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[thuth: added fixup for MAINTAINERS file]
Signed-off-by: Thomas Huth <thuth@redhat.com>
MAINTAINERS
accel/Makefile.objs
accel/qtest.c [new file with mode: 0644]
qtest.c