diff options
author | Jason Andryuk <jandryuk@gmail.com> | 2020-10-13 10:05:11 -0400 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2020-10-24 07:23:19 +0200 |
commit | efd4d93b530807921b1940e13990c561530618d3 (patch) | |
tree | 9c8228aaad75f09779f8229e88f2753e540bf471 /accel/meson.build | |
parent | 9ce84a0d17d015f059a6750fbbf4b057806751df (diff) |
accel: Add xen CpusAccel using dummy-cpus
Xen was broken by commit 1583a3898853 ("cpus: extract out qtest-specific
code to accel/qtest"). Xen relied on qemu_init_vcpu() calling
qemu_dummy_start_vcpu() in the default case, but that was replaced by
g_assert_not_reached().
Add a minimal "CpusAccel" for Xen using the dummy-cpus implementation
used by qtest.
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Message-Id: <20201013140511.5681-4-jandryuk@gmail.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'accel/meson.build')
-rw-r--r-- | accel/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel/meson.build b/accel/meson.build index 9a417396bd..b26cca227a 100644 --- a/accel/meson.build +++ b/accel/meson.build @@ -12,3 +12,4 @@ dummy_ss.add(files( )) specific_ss.add_all(when: ['CONFIG_SOFTMMU', 'CONFIG_POSIX'], if_true: dummy_ss) +specific_ss.add_all(when: ['CONFIG_XEN'], if_true: dummy_ss) |