diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-01-21 21:48:11 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-01-23 02:27:21 -0200 |
commit | 3390e7f79784cbc75df408740cda4edbcf57ac58 (patch) | |
tree | f154c8081b5c1ffd08b17816efc496fa344c3faf /target-i386 | |
parent | c14750e8ad4a9d8d7621e2594abda34df19a6eff (diff) |
kvm: x86: Remove redundant mp_state initialization
kvm_arch_reset_vcpu initializes mp_state, and that function is invoked
right after kvm_arch_init_vcpu.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/kvm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 531b69e68a..07c75c00ad 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -321,8 +321,6 @@ int kvm_arch_init_vcpu(CPUState *env) uint32_t signature[3]; #endif - env->mp_state = KVM_MP_STATE_RUNNABLE; - env->cpuid_features &= kvm_arch_get_supported_cpuid(env, 1, 0, R_EDX); i = env->cpuid_ext_features & CPUID_EXT_HYPERVISOR; |