efd4d93b53
Xen was broken by commit 1583a38988
("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>
16 lines
320 B
Meson
16 lines
320 B
Meson
softmmu_ss.add(files('accel.c'))
|
|
|
|
subdir('qtest')
|
|
subdir('kvm')
|
|
subdir('tcg')
|
|
subdir('xen')
|
|
subdir('stubs')
|
|
|
|
dummy_ss = ss.source_set()
|
|
dummy_ss.add(files(
|
|
'dummy-cpus.c',
|
|
))
|
|
|
|
specific_ss.add_all(when: ['CONFIG_SOFTMMU', 'CONFIG_POSIX'], if_true: dummy_ss)
|
|
specific_ss.add_all(when: ['CONFIG_XEN'], if_true: dummy_ss)
|