sync halt state into env
PATCH 1/1 sync halt state into env
Was dropped somewhere during merge. Without this info cpus doesn't show cpu halted state.
Signed-off-by Gleb Natapov <[email protected]>
qemu-kvm.h +1 -0
@@ -1157,6 +1157,7 @@ static inline void kvm_arch_get_registers(CPUState *env) {kvm_arch_save_regs (env);kvm_arch_save_mpstate (env); + env->halted = (env->mp_state ==KVM_MP_STATE_HALTED ); }static inline void kvm_arch_put_registers (CPUState *env)
--
Gleb.
Avi Kivity
AppliedQuoted 3 lines · Gleb Natapov
Was dropped somewhere during merge. Without this info cpus doesn't show cpu halted state.
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function