From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: Re: RFC: proposal for VM reset hcall Date: Mon, 1 Jul 2013 11:48:36 -0500 Message-ID: <1372697316.8183.79@snotra> References: <9F6FE96B71CF29479FF1CDC8046E15036324CF@039-SN1MPN1-004.039d.mgd.msft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; delsp=Yes; format=Flowed Content-Transfer-Encoding: 8BIT Cc: Alexander Graf , Wood Scott-B07421 , Bhushan Bharat-R65777 , "kvm@vger.kernel.org" To: Yoder Stuart-B08248 Return-path: Received: from mail-db9lp0251.outbound.messaging.microsoft.com ([213.199.154.251]:52167 "EHLO db9outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753353Ab3GAQu0 convert rfc822-to-8bit (ORCPT ); Mon, 1 Jul 2013 12:50:26 -0400 In-Reply-To: <9F6FE96B71CF29479FF1CDC8046E15036324CF@039-SN1MPN1-004.039d.mgd.msft.net> (from B08248@freescale.com on Mon Jul 1 10:56:54 2013) Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On 07/01/2013 10:56:54 AM, Yoder Stuart-B08248 wrote: > For the e500 PV platform we need a VM reset mechanisms. > > Hypercall: KVM_HC_VM_RESET > Description: Requests that the virtual machine be reset. The > hcall takes no arguments. If successful the hcall does > not > return. > > Arguments: > r11 hcall-token KVM_HC_VM_RESET > > Return values > r3 status Status of the hcall. If the hcall succeeds > it does not return. If an error occurs > EV_INTERNAL is returned. > > > Implementation notes: > > -expect hcall token to be defined with > KVM_HCALL_TOKEN(KVM_HC_VM_RESET) > > -the KVM_HC_FEATURES hcall should be expanded with a new feature > bit > to advertise the reset hcall to the VM: #define > KVM_FEATURE_VM_RESET What about shutdown rather than reset? -Scott