Revision caa5af0f kvm-all.c

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:

Also available in: Unified diff