xref: /kvmtool/include/kvm/kvm-cpu.h (revision af7b08685968ff8f6ffdf5cac1ef067688bce8c6)
1 #ifndef KVM__KVM_CPU_H
2 #define KVM__KVM_CPU_H
3 
4 #include "kvm/kvm-cpu-arch.h"
5 
6 struct kvm_cpu *kvm_cpu__init(struct kvm *kvm, unsigned long cpu_id);
7 void kvm_cpu__delete(struct kvm_cpu *vcpu);
8 void kvm_cpu__reset_vcpu(struct kvm_cpu *vcpu);
9 void kvm_cpu__setup_cpuid(struct kvm_cpu *vcpu);
10 void kvm_cpu__enable_singlestep(struct kvm_cpu *vcpu);
11 void kvm_cpu__run(struct kvm_cpu *vcpu);
12 void kvm_cpu__reboot(void);
13 int kvm_cpu__start(struct kvm_cpu *cpu);
14 
15 int kvm_cpu__get_debug_fd(void);
16 void kvm_cpu__set_debug_fd(int fd);
17 void kvm_cpu__show_code(struct kvm_cpu *vcpu);
18 void kvm_cpu__show_registers(struct kvm_cpu *vcpu);
19 void kvm_cpu__show_page_tables(struct kvm_cpu *vcpu);
20 
21 #endif /* KVM__KVM_CPU_H */
22