[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 1/3] accel: Remove _WIN32 ifdef from qtest-cpus.c
From: |
Jason Andryuk |
Subject: |
[PATCH v2 1/3] accel: Remove _WIN32 ifdef from qtest-cpus.c |
Date: |
Tue, 13 Oct 2020 10:05:09 -0400 |
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>
---
v2: New in v2
---
accel/qtest/qtest-cpus.c | 5 -----
1 file changed, 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)
--
2.25.1