Revision caa5af0f

b/kvm-all.c
150 150
{
151 151
    CPUState *env = opaque;
152 152

  
153
    kvm_arch_reset_vcpu(env);
153 154
    if (kvm_arch_put_registers(env)) {
154 155
        fprintf(stderr, "Fatal: kvm vcpu reset failed\n");
155 156
        abort();
......
201 202
    ret = kvm_arch_init_vcpu(env);
202 203
    if (ret == 0) {
203 204
        qemu_register_reset(kvm_reset_vcpu, env);
205
        kvm_arch_reset_vcpu(env);
204 206
        ret = kvm_arch_put_registers(env);
205 207
    }
206 208
err:
b/kvm.h
90 90

  
91 91
int kvm_arch_init_vcpu(CPUState *env);
92 92

  
93
void kvm_arch_reset_vcpu(CPUState *env);
94

  
93 95
struct kvm_guest_debug;
94 96
struct kvm_debug_exit_arch;
95 97

  
b/target-i386/kvm.c
221 221
    return kvm_vcpu_ioctl(env, KVM_SET_CPUID2, &cpuid_data);
222 222
}
223 223

  
224
void kvm_arch_reset_vcpu(CPUState *env)
225
{
226
}
227

  
224 228
static int kvm_has_msr_star(CPUState *env)
225 229
{
226 230
    static int has_msr_star;
b/target-ppc/kvm.c
53 53
    return ret;
54 54
}
55 55

  
56
void kvm_arch_reset_vcpu(CPUState *env)
57
{
58
}
59

  
56 60
int kvm_arch_put_registers(CPUState *env)
57 61
{
58 62
    struct kvm_regs regs;

Also available in: Unified diff