All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Shriram Rajagopalan <rshriram@cs.ubc.ca>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [Patch v4] tools/migrate: Fix regression when migrating from older version of Xen
Date: Tue, 30 Jul 2013 15:11:37 +0100	[thread overview]
Message-ID: <51F7C999.3040202@citrix.com> (raw)
In-Reply-To: <1375177348.11701.74.camel@kazak.uk.xensource.com>

On 30/07/13 10:42, Ian Campbell wrote:
> 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()

Sure.  That is rather better.

>  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.

That is impossible to backport; this is a fix for a regression affecting
all currently maintained version of Xen

>
> 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).

It isn't nice, but IanJ and I decided that this was the neatest way.

Unless we can agree on a different way of backporting this fix.

>
>> + * 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".
>
>

Ok

~Andrew

  reply	other threads:[~2013-07-30 14:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-29 17:07 [Patch v4] tools/migrate: Fix regression when migrating from older version of Xen Andrew Cooper
2013-07-30  9:42 ` Ian Campbell
2013-07-30 14:11   ` Andrew Cooper [this message]
2013-07-30 14:28     ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51F7C999.3040202@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=rshriram@cs.ubc.ca \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.