diff options
| author | Jason Andryuk | 2020-10-13 16:05:09 +0200 |
|---|---|---|
| committer | Thomas Huth | 2020-10-24 07:23:19 +0200 |
| commit | a6b0882ca75b62b2c0840578f790ab65844b749e (patch) | |
| tree | eeeacd5254553efbe4008e6b0a3204a509267ce9 /accel/qtest | |
| parent | tests/qtest/libqtest: Fix detection of architecture for binaries without path (diff) | |
| download | qemu-a6b0882ca75b62b2c0840578f790ab65844b749e.tar.gz qemu-a6b0882ca75b62b2c0840578f790ab65844b749e.tar.xz qemu-a6b0882ca75b62b2c0840578f790ab65844b749e.zip | |
accel: Remove _WIN32 ifdef from qtest-cpus.c
dummy-cpus.c is only compiled with CONFIG_POSIX, so the _WIN32 condition
will never evaluate true. Remove it.
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Message-Id: <20201013140511.5681-2-jandryuk@gmail.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'accel/qtest')
| -rw-r--r-- | accel/qtest/qtest-cpus.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/accel/qtest/qtest-cpus.c b/accel/qtest/qtest-cpus.c index 7c5399ed9d..db094201c1 100644 --- a/accel/qtest/qtest-cpus.c +++ b/accel/qtest/qtest-cpus.c @@ -29,10 +29,6 @@ static void *qtest_cpu_thread_fn(void *arg) { -#ifdef _WIN32 - error_report("qtest is not supported under Windows"); - exit(1); -#else CPUState *cpu = arg; sigset_t waitset; int r; @@ -69,7 +65,6 @@ static void *qtest_cpu_thread_fn(void *arg) qemu_mutex_unlock_iothread(); rcu_unregister_thread(); return NULL; -#endif } static void qtest_start_vcpu_thread(CPUState *cpu) |
