c9923550b4
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>
21 lines
433 B
Meson
21 lines
433 B
Meson
specific_ss.add(files('accel-common.c'))
|
|
softmmu_ss.add(files('accel-softmmu.c'))
|
|
user_ss.add(files('accel-user.c'))
|
|
|
|
subdir('tcg')
|
|
if have_system
|
|
subdir('hvf')
|
|
subdir('qtest')
|
|
subdir('kvm')
|
|
subdir('xen')
|
|
subdir('stubs')
|
|
endif
|
|
|
|
dummy_ss = ss.source_set()
|
|
dummy_ss.add(files(
|
|
'dummy-cpus.c',
|
|
))
|
|
|
|
specific_ss.add_all(when: ['CONFIG_SOFTMMU'], if_true: dummy_ss)
|
|
specific_ss.add_all(when: ['CONFIG_XEN'], if_true: dummy_ss)
|