]> git.proxmox.com Git - mirror_qemu.git/blame - accel/kvm/kvm-cpus.h
Merge tag 'pull-maintainer-may24-160524-2' of https://gitlab.com/stsquad/qemu into...
[mirror_qemu.git] / accel / kvm / kvm-cpus.h
CommitLineData
57038a92
CF
1/*
2 * Accelerator CPUS Interface
3 *
4 * Copyright 2020 SUSE LLC
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9
10#ifndef KVM_CPUS_H
11#define KVM_CPUS_H
12
13#include "sysemu/cpus.h"
14
d0a92b35 15int kvm_init_vcpu(CPUState *cpu, Error **errp);
e0715f6a
CF
16int kvm_cpu_exec(CPUState *cpu);
17void kvm_destroy_vcpu(CPUState *cpu);
18void kvm_cpu_synchronize_post_reset(CPUState *cpu);
19void kvm_cpu_synchronize_post_init(CPUState *cpu);
20void kvm_cpu_synchronize_pre_loadvm(CPUState *cpu);
a48e7d9e 21bool kvm_supports_guest_debug(void);
55b5b8e9
PMD
22int kvm_insert_breakpoint(CPUState *cpu, int type, vaddr addr, vaddr len);
23int kvm_remove_breakpoint(CPUState *cpu, int type, vaddr addr, vaddr len);
ae7467b1 24void kvm_remove_all_breakpoints(CPUState *cpu);
e0715f6a 25
57038a92 26#endif /* KVM_CPUS_H */