From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: KVM: x86: do not execute halted vcpus (resend) Date: Thu, 11 Sep 2008 11:07:17 +0300 Message-ID: <48C8D1B5.2040801@qumranet.com> References: <20080910194055.GB6834@dmt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Marcelo Tosatti Return-path: Received: from il.qumranet.com ([212.179.150.194]:28330 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751559AbYIKIJo (ORCPT ); Thu, 11 Sep 2008 04:09:44 -0400 In-Reply-To: <20080910194055.GB6834@dmt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: Marcelo Tosatti wrote: > KVM: x86: unhalt vcpu0 on reset > > Since "KVM: x86: do not execute halted vcpus", HLT by vcpu0 before system > reset by the IO thread will hang the guest. > > Mark vcpu as runnable in such case. > Applied, thanks. I still want userspace fixed, so please resend the libkvm patch, changelogged and signoffed. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.