aboutsummaryrefslogtreecommitdiff
path: root/accel/stubs
diff options
context:
space:
mode:
authorClaudio Fontana <cfontana@suse.de>2020-08-11 19:08:23 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-10-05 16:41:22 +0200
commite0715f6abce0c04f68d35c4f6df2976ac57379c9 (patch)
tree0edf4d32af69254bf7a07de8fc76ada6d97c08b2 /accel/stubs
parentb2d61ea448b3abe9d002da32cf3fd1b157e33c4f (diff)
kvm: remove kvm specific functions from global includes
Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'accel/stubs')
-rw-r--r--accel/stubs/kvm-stub.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c
index 69f8a842da..680e099463 100644
--- a/accel/stubs/kvm-stub.c
+++ b/accel/stubs/kvm-stub.c
@@ -32,15 +32,6 @@ bool kvm_readonly_mem_allowed;
bool kvm_ioeventfd_any_length_allowed;
bool kvm_msi_use_devid;
-void kvm_destroy_vcpu(CPUState *cpu)
-{
-}
-
-int kvm_init_vcpu(CPUState *cpu)
-{
- return -ENOSYS;
-}
-
void kvm_flush_coalesced_mmio_buffer(void)
{
}
@@ -49,19 +40,6 @@ void kvm_cpu_synchronize_state(CPUState *cpu)
{
}
-void kvm_cpu_synchronize_post_reset(CPUState *cpu)
-{
-}
-
-void kvm_cpu_synchronize_post_init(CPUState *cpu)
-{
-}
-
-int kvm_cpu_exec(CPUState *cpu)
-{
- abort();
-}
-
bool kvm_has_sync_mmu(void)
{
return false;