Skip to content

Commit

Permalink
accel: Remove _WIN32 ifdef from qtest-cpus.c
Browse files Browse the repository at this point in the history
dummy-cpus.c is only compiled with CONFIG_POSIX, so the _WIN32 condition
will never evaluate true.  Remove it.

Signed-off-by: Jason Andryuk <[email protected]>
Message-Id: <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Reviewed-by: Claudio Fontana <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
  • Loading branch information
jandryuk authored and huth committed Oct 24, 2020
1 parent b7f47e8 commit a6b0882
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions accel/qtest/qtest-cpus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a6b0882

Please sign in to comment.