aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Andryuk <jandryuk@gmail.com>2020-10-13 10:05:10 -0400
committerThomas Huth <thuth@redhat.com>2020-10-24 07:23:19 +0200
commit9ce84a0d17d015f059a6750fbbf4b057806751df (patch)
tree22dc336b897d1c3844e46a34d3d6a44a0338e9fa /include
parenta6b0882ca75b62b2c0840578f790ab65844b749e (diff)
downloadqemu-9ce84a0d17d015f059a6750fbbf4b057806751df.zip
qemu-9ce84a0d17d015f059a6750fbbf4b057806751df.tar.gz
qemu-9ce84a0d17d015f059a6750fbbf4b057806751df.tar.bz2
accel: move qtest CpusAccel functions to a common location
Move and rename accel/qtest/qtest-cpus.c files to accel/dummy-cpus.c so it can be re-used by Xen. Signed-off-by: Jason Andryuk <jandryuk@gmail.com> Message-Id: <20201013140511.5681-3-jandryuk@gmail.com> Reviewed-by: Claudio Fontana <cfontana@suse.de> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sysemu/cpus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sysemu/cpus.h b/include/sysemu/cpus.h
index 2316859..e815672 100644
--- a/include/sysemu/cpus.h
+++ b/include/sysemu/cpus.h
@@ -25,6 +25,9 @@ typedef struct CpusAccel {
/* register accel-specific cpus interface implementation */
void cpus_register_accel(const CpusAccel *i);
+/* Create a dummy vcpu for CpusAccel->create_vcpu_thread */
+void dummy_start_vcpu_thread(CPUState *);
+
/* interface available for cpus accelerator threads */
/* For temporary buffers for forming a name */