[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Allow wake up of offline vcpu via nmi-ipi


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Wed, 18 Jan 2012 10:07:02 +0100
  • Delivery-date: Wed, 18 Jan 2012 09:07:52 +0000
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:Subject:References:In-Reply-To: Content-Type:Content-Transfer-Encoding; b=uUQz38vhVoKxZDDEnacijpzed51Y3QMa0k3C+z8mysVQTu565wM6G7ab ej3c7aFhyHDzkKNAJbDLBu5QwZ1rIaUqq/oHgM48Ri1m9Tt0TlIIJeqYU WwnSOpfGyQx4uKd4tsWTa0Ib7gxuNK4ZEW8WIYxDtJcm7ZgdiqCTeLoxS LOwmX6jHvBUR/VzsDSfZJxdKmn+eJ94i5tPNYjvcHCt7eN2awu3Si9i/Z 45Kdg8rGoBEiiXsBMpNqGmsscSmqK;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 01/18/2012 09:48 AM, Juergen Gross wrote:
On a real machine a cpu disabled via hlt with interrupts disabled can be
reactivated via a nmi ipi. Enable the hypervisor to do this for hvm, too.

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


1 file changed, 4 insertions(+), 1 deletion(-)
xen/arch/x86/hvm/vlapic.c |    5 ++++-

BTW: I was not able to reactivate a vcpu via INIT/SIPI/SIPI sequence. It works
on initial system boot when the target vcpu is activated the first time. If I
deactivate a vcpu and try to activate it again it will start to run, but it is
not starting at the specified entry point (at least it isn't performing the
first instruction there).
Is there some special initialization needed to make this work? Do I have to 
reset
something on the vcpu before deactivating it?


Juergen

--
Juergen Gross                 Principal Developer Operating Systems
PDG ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.