From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] tools/many: Fix Generation ID restore interface.
Date: Tue, 26 Nov 2013 10:51:28 +0000 [thread overview]
Message-ID: <52947D30.3090100@citrix.com> (raw)
In-Reply-To: <1385462748.23112.16.camel@kazak.uk.xensource.com>
On 26/11/13 10:45, Ian Campbell wrote:
> On Tue, 2013-11-26 at 10:41 +0000, Andrew Cooper wrote:
>> On 26/11/13 10:11, Ian Campbell wrote:
>>> On Mon, 2013-11-25 at 20:40 +0000, Andrew Cooper wrote:
>>>> The original Generation ID code was submitted before the specification had
>>>> been finalised, and changed completely between the final draft and formal
>>>> release.
>>>>
>>>> Most notably, the size of the Generation ID has doubled to 128 bits, and
>>>> changing it now involves writing a new cryptographically random number in the
>>>> appropriate location, rather than simply incrementing it.
>>>>
>>>> The xc_domain_save() side of the code is fine, but the xc_domain_restore()
>>>> needs substantial changes to be usable.
>>>>
>>>> This patch replaces the old xc_domain_restore() parameters with a new optional
>>>> restore_callback. If the callback is provided, and an appropriate hunk is
>>>> found in the migration stream, the appropriate piece of guest memory is mapped
>>>> and provided to the callback.
>>>>
>>>> This patch also fixes all the in-tree callers of xc_domain_restore(). All
>>>> callers had the functionality disabled, and never exposed in a public way.
>>>>
>>>> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
>>>> CC: Ian Campbell <Ian.Campbell@citrix.com>
>>>> CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
>>>> CC: George Dunlap <george.dunlap@eu.citrix.com>
>>>>
>>>> ---
>>>>
>>>> George:
>>>>
>>>> Despite this being a feature, I am requesting a freeze exemption. It is
>>>> functionality which was not used (or indeed useful) before, and remains that
>>>> way as far as in-tree consumers are concerned.
>>> If it is both wrong and neither used nor useful why aren't we ripping
>>> it out?
>> The implementation in the tree currently is neither useful nor used. It
>> is hardwired to disabled for each intree caller, which is why this
>> change wont affect any current functionality in tree.
> That doesn't answer my question.
Well I am ripping out the old interface. It is at the same time as
providing a new sane interface to be used.
Just because there are no intree users doesn't mean there are no users.
Part of moving Xapi to libxl will involve plumbing all this stuff into
libxl.
~Andrew
next prev parent reply other threads:[~2013-11-26 10:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 20:40 [PATCH] tools/many: Fix Generation ID restore interface Andrew Cooper
2013-11-26 10:11 ` Ian Campbell
2013-11-26 10:41 ` Andrew Cooper
2013-11-26 10:45 ` Ian Campbell
2013-11-26 10:51 ` Andrew Cooper [this message]
2013-11-26 10:57 ` George Dunlap
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=52947D30.3090100@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=george.dunlap@eu.citrix.com \
--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.