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 12:32:02 -0500 Message-ID: <1372699922.8183.88@snotra> References: <9F6FE96B71CF29479FF1CDC8046E15036324CF@039-SN1MPN1-004.039d.mgd.msft.net> <1372697316.8183.79@snotra> <9F6FE96B71CF29479FF1CDC8046E150363289A@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: Wood Scott-B07421 , Alexander Graf , Bhushan Bharat-R65777 , "kvm@vger.kernel.org" To: Yoder Stuart-B08248 Return-path: Received: from mail-db8lp0184.outbound.messaging.microsoft.com ([213.199.154.184]:41441 "EHLO db8outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754199Ab3GARpx convert rfc822-to-8bit (ORCPT ); Mon, 1 Jul 2013 13:45:53 -0400 In-Reply-To: <9F6FE96B71CF29479FF1CDC8046E150363289A@039-SN1MPN1-004.039d.mgd.msft.net> (from B08248@freescale.com on Mon Jul 1 12:28:34 2013) Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On 07/01/2013 12:28:34 PM, Yoder Stuart-B08248 wrote: > > > > -----Original Message----- > > From: Wood Scott-B07421 > > Sent: Monday, July 01, 2013 11:49 AM > > To: Yoder Stuart-B08248 > > Cc: Alexander Graf; Wood Scott-B07421; Bhushan Bharat-R65777; > kvm@vger.kernel.org > > Subject: Re: RFC: proposal for VM reset hcall > > > > 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? > > 'Shutdown' means something completely to me than 'reset', > and doesn't imply a reboot or reset. I think the name > should be reset/restart/reboot. My point is that Alex talked about wanting both reboot and shutdown support. I wasn't suggesting a name change. -Scott