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=-6.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 9CA60C4363A for ; Mon, 5 Oct 2020 10:14:25 +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 1EF8F2078D for ; Mon, 5 Oct 2020 10:14:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dQXvZ4OJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1EF8F2078D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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.2963.8502 (Exim 4.92) (envelope-from ) id 1kPNVJ-0003yJ-8s; Mon, 05 Oct 2020 10:14:01 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 2963.8502; Mon, 05 Oct 2020 10:14:01 +0000 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" Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kPNVJ-0003yC-5H; Mon, 05 Oct 2020 10:14:01 +0000 Received: by outflank-mailman (input) for mailman id 2963; Mon, 05 Oct 2020 10:13:59 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kPNVH-0003y0-RN for xen-devel@lists.xenproject.org; Mon, 05 Oct 2020 10:13:59 +0000 Received: from mail-wm1-x32d.google.com (unknown [2a00:1450:4864:20::32d]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 880e2c0b-b5b4-4c80-9543-084c5e0a263b; Mon, 05 Oct 2020 10:13:59 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id t17so8163577wmi.4 for ; Mon, 05 Oct 2020 03:13:59 -0700 (PDT) Received: from CBGR90WXYV0 (54-240-197-234.amazon.com. [54.240.197.234]) by smtp.gmail.com with ESMTPSA id h4sm14193239wrm.54.2020.10.05.03.13.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Oct 2020 03:13:57 -0700 (PDT) Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kPNVH-0003y0-RN for xen-devel@lists.xenproject.org; Mon, 05 Oct 2020 10:13:59 +0000 X-Inumbo-ID: 880e2c0b-b5b4-4c80-9543-084c5e0a263b Received: from mail-wm1-x32d.google.com (unknown [2a00:1450:4864:20::32d]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 880e2c0b-b5b4-4c80-9543-084c5e0a263b; Mon, 05 Oct 2020 10:13:59 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id t17so8163577wmi.4 for ; Mon, 05 Oct 2020 03:13:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:reply-to:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:content-language :thread-index; bh=NRgMAqf3/i0yh6vU2Gatu/FdpJX+8wN+9W1V5uqyPKg=; b=dQXvZ4OJQOl2EGHL9XE/e1+YpOG+p1PPcAv+TqxRUAMFIcK4cQ1c5oe03vmvUbASjK OGBY1tz78PXW6SqnAwBlPP6VNFZY+yk9E6Z86McKL6ekAh5iOJ5YsYhJPnksIxkqK0xa 6TKiRbQRb595oq5218cgYLIhO2NvodtP1BfnPtm72tbdTsE9v2RTVMmbCCojP5sKGMjY YKMxypg26iJU+y7LSccau1Sr15eq8WrcrEXjWu2USNM4Awx+f8nLVawORay4oxIhOMQ8 dQ49fCkvC4Qk544IYaNcJRWY+LGRAs2VY6zzu7mrYnVXKc2Mgg2ULdAfy5oAUtdzxP+0 vTrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:reply-to:to:cc:references:in-reply-to :subject:date:message-id:mime-version:content-transfer-encoding :content-language:thread-index; bh=NRgMAqf3/i0yh6vU2Gatu/FdpJX+8wN+9W1V5uqyPKg=; b=btkzHmX11FS85gyN+ecdXTqJm4aoDG+XA13u7q3b6eMfn7gPMFNe1MDxi/vBk1WL2F aKfap/3CFjcHablIicgVDJKms87ySPkIZIGgDRf9e/nzho3wajQmEyfwFOtl1KueM75t HsvK08jmpdZ9ZQMN+YWUSkqIjHmIZaytMdhRLM5FoAjhaKJfT9Wkk5rLnHsPjhKG6y97 Ms5hXQcy39sCVrZ1Qn9MsmdTIjUC+2s1QoawUCqnWeVBNkt0yxN04UNy4ZQHRNnChhwu ePkQwYF86gcTMBDHQuO4liz8oKE+8Go5H8eN4RuVsLM6Twxg7ERLrgv/aEszCYvnJW3p ZsSg== X-Gm-Message-State: AOAM532hdtL6Z+91+fu07Mseh7LMF8R72//Q5gkLIxmqU3q9J/2VhtMf JkKbcTBp37NTaISH20CC4WM= X-Google-Smtp-Source: ABdhPJxfAc7rkLs+2VLOUwsgHUkym6lK/bhb3wx7dY6XpOAgDovl7dMaIh2HpOjBypJZAWVxNNzBXg== X-Received: by 2002:a1c:495:: with SMTP id 143mr361861wme.63.1601892838199; Mon, 05 Oct 2020 03:13:58 -0700 (PDT) Received: from CBGR90WXYV0 (54-240-197-234.amazon.com. [54.240.197.234]) by smtp.gmail.com with ESMTPSA id h4sm14193239wrm.54.2020.10.05.03.13.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Oct 2020 03:13:57 -0700 (PDT) From: Paul Durrant X-Google-Original-From: "Paul Durrant" Reply-To: To: "'Andrew Cooper'" , Cc: "'Paul Durrant'" , "'George Dunlap'" , "'Ian Jackson'" , "'Jan Beulich'" , "'Julien Grall'" , "'Stefano Stabellini'" , "'Wei Liu'" , =?utf-8?Q?'Marek_Marczykowski-G=C3=B3recki'?= References: <20200924131030.1876-1-paul@xen.org> <20200924131030.1876-6-paul@xen.org> <30a67387-37d4-4408-6747-5fc1b193acc7@citrix.com> In-Reply-To: <30a67387-37d4-4408-6747-5fc1b193acc7@citrix.com> Subject: RE: [PATCH v9 5/8] docs / tools: specific migration v4 to include DOMAIN_CONTEXT Date: Mon, 5 Oct 2020 11:13:56 +0100 Message-ID: <000301d69b00$3cc99f00$b65cdd00$@xen.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: en-gb Thread-Index: AQHMaZuCwoR0ssB24MBKMpsJEDSJHwI2tcBBAdGJ5VapfOrRAA== > -----Original Message----- > From: Andrew Cooper > Sent: 05 October 2020 11:09 > To: Paul Durrant ; xen-devel@lists.xenproject.org > Cc: Paul Durrant ; George Dunlap = ; Ian Jackson > ; Jan Beulich ; Julien = Grall ; Stefano > Stabellini ; Wei Liu ; Marek = Marczykowski-G=C3=B3recki > > Subject: Re: [PATCH v9 5/8] docs / tools: specific migration v4 to = include DOMAIN_CONTEXT >=20 > On 24/09/2020 14:10, Paul Durrant wrote: > > From: Paul Durrant > > > > A new 'domain context' framework was recently introduced to = facilitate > > transfer of state for both PV and HVM guests. Hence this patch = mandates the > > presence of a new DOMAIN_CONTEXT record in version 4 of the libxc = migration > > stream. > > This record will incorprate the content of the domain's = 'shared_info' page > > and the TSC informaiton so the SHARED_INFO and TSC_INFO records are = deprecated. > > It is intended that, in future, this record will contain state = currently > > present in the HVM_CONTEXT record. However, for compatibility with = earlier > > migration streams, the version 4 stream format continues to specify = an > > HVM_CONTEXT record and XEN_DOMCTL_sethvmcontext will continue to = accept all > > content of that record that may be present in a version 3 stream. > > > > Signed-off-by: Paul Durrant >=20 > What's the plan for the remainder of the work? We don't want to burn > multiple version numbers for each bit of incremental work. >=20 > One option might be to specify the full extent of the work, and use an > environment variable to alter the behaviour of the sending side, while > it is still work-in-progress. >=20 The other missing part for transparent migration is xenstore content, = but I'd expect that to sit at the next level up so I'm not anticipating = any more churn at this level. Paul