All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: "Durrant, Paul" <pdurrant@amazon.co.uk>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
	Julien Grall <julien@xen.org>, Wei Liu <wl@xen.org>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	George Dunlap <George.Dunlap@eu.citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: [Xen-devel] [PATCH v4 2/2] docs/designs: Add a design document for migration of xenstore data
Date: Thu, 30 Jan 2020 11:27:46 +0100	[thread overview]
Message-ID: <20200130102746.GM15453@mail-itl> (raw)
In-Reply-To: <6ac0ec3ffd1749b79a34c3d96d99ccf4@EX13D32EUC003.ant.amazon.com>


[-- Attachment #1.1: Type: text/plain, Size: 2667 bytes --]

On Thu, Jan 30, 2020 at 08:45:49AM +0000, Durrant, Paul wrote:
> > -----Original Message-----
> > From: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
> > Sent: 29 January 2020 21:23
> > To: Durrant, Paul <pdurrant@amazon.co.uk>
> > Cc: xen-devel@lists.xenproject.org; Stefano Stabellini
> > <sstabellini@kernel.org>; Julien Grall <julien@xen.org>; Wei Liu
> > <wl@xen.org>; Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>; George
> > Dunlap <George.Dunlap@eu.citrix.com>; Andrew Cooper
> > <andrew.cooper3@citrix.com>; Ian Jackson <ian.jackson@eu.citrix.com>
> > Subject: Re: [Xen-devel] [PATCH v4 2/2] docs/designs: Add a design
> > document for migration of xenstore data
> > 
> > On Wed, Jan 29, 2020 at 02:47:02PM +0000, Paul Durrant wrote:
> > 
> > <snip>
> > 
> > > +**node data**
> > > +
> > > +
> > > +`<path>|<value>|<perm-as-string>|`
> > > +
> > > +
> > > +`<path>` is considered relative to the domain path
> > `/local/domain/$domid`
> > > +and hence must not begin with `/`.
> > 
> > How backend settings are going to be serialized?
> 
> They're not going to be. The toolstack will construct new backends; co-operation will be required from them in that they must support re-binding (which the latest versions of blkback and netback do). We will need to white-list backends that are known to do this and refuse non-cooperative migration if any other backend is use.
> 
> > For example vif backend
> > has a bunch of feature-* entries, which should not change under the
> > guest feet during non-cooperative migration.
> > 
> 
> The frontend will normally come back in 'connected' state, in which case a change in any feature flags will be irrelevant until the next (if any) re-connection (since the protocols only sample them at that point). If the frontend is not connected then it will sample the feature flags in the usual way. If the frontend/backend are in transition then the locking in the backend should prevent the 'unbind' from completing until some level of stability has been reached.

Yes, but regardless of xenstore entries, those do represent what backend
can and is willing to do. If some feature disappears (in actual backend,
not only its xenstore representation) during non-cooperative migration,
I guess frontent won't be happy about that.

How are they related to feature-* entries in frontent? Are frontend
features separate set, or a confirmation what backend's features will be
used?

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

      reply	other threads:[~2020-01-30 10:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-29 14:47 [Xen-devel] [PATCH v4 0/2] docs: Migration design documents Paul Durrant
2020-01-29 14:47 ` [Xen-devel] [PATCH v4 1/2] docs/designs: Add a design document for non-cooperative live migration Paul Durrant
2020-01-29 19:47   ` Andrew Cooper
2020-01-30  9:15     ` Durrant, Paul
2020-01-30 11:48       ` Andrew Cooper
2020-01-29 14:47 ` [Xen-devel] [PATCH v4 2/2] docs/designs: Add a design document for migration of xenstore data Paul Durrant
2020-01-29 21:23   ` Marek Marczykowski-Górecki
2020-01-30  8:45     ` Durrant, Paul
2020-01-30 10:27       ` Marek Marczykowski-Górecki [this message]

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=20200130102746.GM15453@mail-itl \
    --to=marmarek@invisiblethingslab.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=julien@xen.org \
    --cc=konrad.wilk@oracle.com \
    --cc=pdurrant@amazon.co.uk \
    --cc=sstabellini@kernel.org \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.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.