diff options
author | Xuzhou Cheng | 2022-10-28 06:57:26 +0200 |
---|---|---|
committer | Thomas Huth | 2022-10-28 11:17:12 +0200 |
commit | c9923550b446e54413024117c0ed978a08e3ab1a (patch) | |
tree | 5a16826541c7c0e2466c6f8a85e472ec778d1009 /accel/qtest | |
parent | tests: Add sndio to the FreeBSD CI containers / VM (diff) | |
download | qemu-c9923550b446e54413024117c0ed978a08e3ab1a.tar.gz qemu-c9923550b446e54413024117c0ed978a08e3ab1a.tar.xz qemu-c9923550b446e54413024117c0ed978a08e3ab1a.zip |
accel/qtest: Support qtest accelerator for Windows
Currently signal SIGIPI [=SIGUSR1] is used to kick the dummy CPU
when qtest accelerator is used. However SIGUSR1 is unsupported on
Windows. To support Windows, we add a QemuSemaphore CPUState::sem
to kick the dummy CPU instead for Windows.
Signed-off-by: Xuzhou Cheng <xuzhou.cheng@windriver.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20221028045736.679903-2-bin.meng@windriver.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'accel/qtest')
-rw-r--r-- | accel/qtest/meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/accel/qtest/meson.build b/accel/qtest/meson.build index 4c65600293..176d990ae1 100644 --- a/accel/qtest/meson.build +++ b/accel/qtest/meson.build @@ -1,2 +1 @@ -qtest_module_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_POSIX'], - if_true: files('qtest.c')) +qtest_module_ss.add(when: ['CONFIG_SOFTMMU'], if_true: files('qtest.c')) |