From: Ian Campbell Subject: Re: [Patch v4] tools/migrate: Fix regression when migrating from older version of Xen Date: Tue, 30 Jul 2013 10:42:28 +0100 Message-ID: <1375177348.11701.74.camel@kazak.uk.xensource.com> References: <1375117622-12973-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1375117622-12973-1-git-send-email-andrew.cooper3@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: Andrew Cooper Cc: Shriram Rajagopalan , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, 2013-07-29 at 18:07 +0100, Andrew Cooper wrote: > Changes since v3: > * Plumb the xl "remus" flag down through libxl. This is done by introducing > libxl_domain_create_restore_remus() I don't think we want to expose the name of a particular HA strategy in the libxl API. If we were to add anything then it should be _checkpointed() or something however my strong preference would be to add a flags parameter in a backwards compatible way now (perhaps using a similar scheme to Olaf's which I linked to before) rather than to start combinatorially exploding the API for each new variant. Image a new, hypothetical, "pre-migration" mode (contrasted to our current post-migration mode), now we have four API calls required (pre- vs. post-migration crossed with regular vs. checkpointed). > + * If this is defined, libxl_domain_create_restore() has had a _remus() > + * varient created to help fix a regression in the migration stream format. If you end up reusing any of this text then it should be "variant".