From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: [patch 6/6] kvm: remove explicit kvm_arch_reset_vcpu from kvm_init_vcpu Date: Tue, 23 Mar 2010 13:37:15 -0300 Message-ID: <20100323163812.726785030@redhat.com> References: <20100323163709.033115262@redhat.com> To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55227 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752263Ab0CWQmL (ORCPT ); Tue, 23 Mar 2010 12:42:11 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2NGgBUZ025259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 23 Mar 2010 12:42:11 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2NGgAKX016574 for ; Tue, 23 Mar 2010 12:42:11 -0400 Received: from amt.cnet (vpn-10-84.rdu.redhat.com [10.11.10.84]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o2NGg8MO031016 for ; Tue, 23 Mar 2010 12:42:09 -0400 Received: from amt.cnet (amt.cnet [127.0.0.1]) by amt.cnet (Postfix) with ESMTP id 7FBB06520A6 for ; Tue, 23 Mar 2010 13:40:08 -0300 (BRT) Content-Disposition: inline; filename=remove-explicit-reset Sender: kvm-owner@vger.kernel.org List-ID: This is now done via the initialization's qemu_system_reset call. Index: qemu-uq/kvm-all.c =================================================================== --- qemu-uq.orig/kvm-all.c +++ qemu-uq/kvm-all.c @@ -209,7 +209,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); } err: return ret;