From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v3 01/24] xen: Extend DOMCTL createdomain to support arch configuration Date: Mon, 23 Feb 2015 21:48:48 +0000 Message-ID: <54EBA040.7000501@linaro.org> References: <1421159133-31526-1-git-send-email-julien.grall@linaro.org> <1421159133-31526-2-git-send-email-julien.grall@linaro.org> <1424445310.30924.292.camel@citrix.com> <54EB4BE0.3010409@citrix.com> <1424707242.27930.187.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YQ0s0-0001TB-PY for xen-devel@lists.xenproject.org; Mon, 23 Feb 2015 21:48:52 +0000 Received: by mail-wi0-f178.google.com with SMTP id em10so20898100wid.5 for ; Mon, 23 Feb 2015 13:48:51 -0800 (PST) In-Reply-To: <1424707242.27930.187.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , Andrew Cooper Cc: Wei Liu , George Dunlap , Ian Jackson , tim@xen.org, stefano.stabellini@citrix.com, Jan Beulich , xen-devel@lists.xenproject.org, Daniel De Graaf , Keir Fraser List-Id: xen-devel@lists.xenproject.org Hi Ian, On 23/02/2015 16:00, Ian Campbell wrote: > On Mon, 2015-02-23 at 15:48 +0000, Andrew Cooper wrote: >> GIC version and SPIs should absolutely be part of the migration stream. >> They are domain architectural state. > > Of course, the question is where. > > They could be part of the Xen hvmsave blob for the GIC (i.e. along with > the other GIC architectural state such as which interrupts are currently > active,pending,masked etc). > > Or they could be part of a new migration v2 record for such things. With the extension of the DOMCTL createdomain, this would be the best solution. The implementation would be cleaner. > Or they could be part of the hvm params migration record. And how do you restore? As we may have some default value (such as choosing the default GIC version), how do you know that all the parameters is correctly given? Regards, -- Julien Grall