From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWJ22-0005uZ-OW for qemu-devel@nongnu.org; Fri, 22 Jun 2018 06:11:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWJ1z-0002gB-HE for qemu-devel@nongnu.org; Fri, 22 Jun 2018 06:11:06 -0400 References: <20180621170143.113370-1-borntraeger@de.ibm.com> <20180622114659.7858fe00.cohuck@redhat.com> <56c5193d-b116-93ae-af96-509fab9e1381@redhat.com> From: David Hildenbrand Message-ID: Date: Fri, 22 Jun 2018 12:10:59 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 1/1] s390/ipl: fix ipl with -no-reboot List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger , Paolo Bonzini , Cornelia Huck Cc: qemu-devel , qemu-s390x , Thomas Huth , Halil Pasic , Janosch Frank , Alexander Graf , Richard Henderson On 22.06.2018 12:10, Christian Borntraeger wrote: > > > On 06/22/2018 11:59 AM, Paolo Bonzini wrote: >> On 22/06/2018 11:46, Cornelia Huck wrote: >>>>> Ok, then my suggestion made even more sense. :) No other objections >>>>> apart from the name of the constant. >>>>> >>>>> Paolo >>>> SHUTDOWN_CAUSE_S390_PARTIAL ? >>> Don't like that one much. >>> >>>> SHUTDOWN_CAUSE_S390_SUBSYS_RESET? >>> Either that, or drop the 'S390' (is it conceivable that other >>> architectures have something similar)? >>> >> >> I don't know exactly what is going on here, so I'm not very suited to >> answer this. The difference just from reading the C code seems to be >> that it calls s390_cpu_load_normal instead of s390_ipl_prepare_cpu, and >> that it calls subsystem_reset instead of qemu_devices_reset. >> >> For a more generic name I'd go with SHUTDOWN_CAUSE_OS_BOOT (or >> OS_BOOTING, or BOOT_OS), but an s390-specific name is of course fine as >> well, especially if you have a specific moniker for the "thing that IPL > > It is not a BOOT, it is in fact an reset just to the devices. > Right now I favor > > SHUTDOWN_CAUSE_SUBSYSTEM_RESET > +1 -- Thanks, David / dhildenb