From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1242FC433B4 for ; Fri, 2 Apr 2021 10:21:47 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B4026610D1 for ; Fri, 2 Apr 2021 10:21:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B4026610D1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=verge.net.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.104829.200791 (Exim 4.92) (envelope-from ) id 1lSGvP-0003qq-E6; Fri, 02 Apr 2021 10:21:11 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 104829.200791; Fri, 02 Apr 2021 10:21:11 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lSGvP-0003qj-AI; Fri, 02 Apr 2021 10:21:11 +0000 Received: by outflank-mailman (input) for mailman id 104829; Fri, 02 Apr 2021 10:21:09 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lSGvN-0003qe-HW for xen-devel@lists.xenproject.org; Fri, 02 Apr 2021 10:21:09 +0000 Received: from kirsty.vergenet.net (unknown [202.4.237.240]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id 73c10569-e52c-45ac-bf19-7d7f8e5753b4; Fri, 02 Apr 2021 10:21:08 +0000 (UTC) Received: from madeliefje.horms.nl (tulip.horms.nl [83.161.246.101]) by kirsty.vergenet.net (Postfix) with ESMTPA id 893C625BE8B; Fri, 2 Apr 2021 21:01:20 +1100 (AEDT) Received: by madeliefje.horms.nl (Postfix, from userid 7100) id 9A2A53602; Fri, 2 Apr 2021 12:01:18 +0200 (CEST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 73c10569-e52c-45ac-bf19-7d7f8e5753b4 Date: Fri, 2 Apr 2021 12:01:18 +0200 From: Simon Horman To: Raphael Ning Cc: kexec@lists.infradead.org, Julien Grall , Hongyan Xia , xen-devel@lists.xenproject.org, Raphael Ning Subject: Re: [PATCH] kexec-xen: Use correct image type for Live Update Message-ID: <20210402100118.GF18086@vergenet.net> References: <20210323175923.7342-1-raphning@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210323175923.7342-1-raphning@gmail.com> Organisation: Horms Solutions BV User-Agent: Mutt/1.10.1 (2018-07-13) On Tue, Mar 23, 2021 at 05:59:23PM +0000, Raphael Ning wrote: > From: Raphael Ning > > Unlike xen_kexec_load(), xen_kexec_unload() and xen_kexec_status() > fail to distinguish between normal kexec and Xen Live Update image > types. > > Fix that by introducing a new helper function that maps internal > flags to KEXEC_TYPE_*, and using it throughout kexec-xen.c. > > Signed-off-by: Raphael Ning Thanks, applied.