All reset functions are called from the same place, and this was a leftover
Signed-off-by: Glauber Costa <glom...@redhat.com> --- kvm-all.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index 28f7ab7..dbd69f3 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -204,8 +204,6 @@ int kvm_init_vcpu(CPUState *env) ret = kvm_arch_init_vcpu(env); if (ret == 0) { qemu_register_reset(kvm_reset_vcpu, env); - kvm_arch_reset_vcpu(env); - ret = kvm_arch_put_registers(env); } err: return ret; -- 1.6.5.2