Lines Matching +full:qemu +full:- +full:kvm
2 * QEMU KVM support
12 * See the COPYING file in the top-level directory.
16 #include "qemu/osdep.h"
17 #include "qemu/error-report.h"
18 #include "qemu/main-loop.h"
19 #include "system/accel-ops.h"
20 #include "system/kvm.h"
24 #include "qemu/guest-random.h"
27 #include <linux/kvm.h>
28 #include "kvm-cpus.h"
38 qemu_thread_get_self(cpu->thread); in kvm_vcpu_thread_fn()
39 cpu->thread_id = qemu_get_thread_id(); in kvm_vcpu_thread_fn()
47 qemu_guest_random_seed_thread_part2(cpu->random_seed); in kvm_vcpu_thread_fn()
57 } while (!cpu->unplug || cpu_can_run(cpu)); in kvm_vcpu_thread_fn()
70 snprintf(thread_name, VCPU_THREAD_NAME_SIZE, "CPU %d/KVM", in kvm_start_vcpu_thread()
71 cpu->cpu_index); in kvm_start_vcpu_thread()
72 qemu_thread_create(cpu->thread, thread_name, kvm_vcpu_thread_fn, in kvm_start_vcpu_thread()
83 return !kvm_enabled() || !kvm_state->guest_state_protected; in kvm_cpus_are_resettable()
97 ops->create_vcpu_thread = kvm_start_vcpu_thread; in kvm_accel_ops_class_init()
98 ops->cpu_thread_is_idle = kvm_vcpu_thread_is_idle; in kvm_accel_ops_class_init()
99 ops->cpus_are_resettable = kvm_cpus_are_resettable; in kvm_accel_ops_class_init()
100 ops->synchronize_post_reset = kvm_cpu_synchronize_post_reset; in kvm_accel_ops_class_init()
101 ops->synchronize_post_init = kvm_cpu_synchronize_post_init; in kvm_accel_ops_class_init()
102 ops->synchronize_state = kvm_cpu_synchronize_state; in kvm_accel_ops_class_init()
103 ops->synchronize_pre_loadvm = kvm_cpu_synchronize_pre_loadvm; in kvm_accel_ops_class_init()
104 ops->handle_interrupt = generic_handle_interrupt; in kvm_accel_ops_class_init()
107 ops->update_guest_debug = kvm_update_guest_debug_ops; in kvm_accel_ops_class_init()
108 ops->supports_guest_debug = kvm_supports_guest_debug; in kvm_accel_ops_class_init()
109 ops->insert_breakpoint = kvm_insert_breakpoint; in kvm_accel_ops_class_init()
110 ops->remove_breakpoint = kvm_remove_breakpoint; in kvm_accel_ops_class_init()
111 ops->remove_all_breakpoints = kvm_remove_all_breakpoints; in kvm_accel_ops_class_init()
116 .name = ACCEL_OPS_NAME("kvm"),