From: Yang Hongyang <yanghy@cn.fujitsu.com>
To: Ian Campbell <ian.campbell@citrix.com>, Wei Liu <wei.liu2@citrix.com>
Cc: xen-devel@lists.xenproject.org,
Andrew Cooper <andrew.cooper3@citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
dslutz@verizon.com,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: RFC: QEMU bumping memory limit and domain restore
Date: Wed, 3 Jun 2015 09:05:35 +0800 [thread overview]
Message-ID: <556E52DF.109@cn.fujitsu.com> (raw)
In-Reply-To: <1433260149.15036.333.camel@citrix.com>
On 06/02/2015 11:49 PM, Ian Campbell wrote:
> On Tue, 2015-06-02 at 15:08 +0100, Wei Liu wrote:
> [...]
>>> So here is a proof of concept patch to record and honour that value
>>> during migration. A new field is added in IDL. Note that we don't
>>> provide xl level config option for it and mandate it to be default value
>>> during domain creation. This is to prevent libxl user from using it to
>>> avoid unforeseen repercussions.
>> [...]
>>> This field is mandated to be default value during guest creation to
>>> avoid unforeseen repercussions. It's only honour when restoring a guest.
>
> IMHO this means that the libxl API/IDL is the wrong place for this
> value. Only user and/or application serviceable parts belong in the API.
>
> So while I agree that this value need to be communicated across a
> migration, the JSON blob is not the right mechanism for doing so. IOW if
> you go down this general path I think you need a new
> field/record/whatever in the migration protocol at some layer or other
> (if not libxc then at the libxl layer).
>
> To my mind this "actual state" vs "user configured state" is more akin
> to the sorts of things which is in the hypervisor save blob or something
> like that (nb: This is not a suggestion that it should go there).
>
> IIRC Don also outlined another case, which is
> xl create -p
> xl migrate
> xl unpause
Actually this is what COLO do. On primary, we must start using -p then
migrate to ensure the disk is consistent.
>
> Which might need more thought if any bumping can happen after the
> migrate i.e. on unpause?
>
>
> .
>
--
Thanks,
Yang.
next prev parent reply other threads:[~2015-06-03 1:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-02 14:05 RFC: QEMU bumping memory limit and domain restore Wei Liu
2015-06-02 14:08 ` Wei Liu
2015-06-02 15:49 ` Ian Campbell
2015-06-02 16:11 ` Andrew Cooper
2015-06-02 17:40 ` Wei Liu
2015-06-04 15:28 ` Wei Liu
2015-06-04 15:49 ` Ian Campbell
2015-06-05 13:09 ` Wei Liu
2015-06-02 17:32 ` Wei Liu
2015-06-03 1:05 ` Yang Hongyang [this message]
2015-06-03 13:22 ` George Dunlap
2015-06-03 13:32 ` Andrew Cooper
2015-06-03 13:53 ` George Dunlap
2015-06-03 16:11 ` Don Slutz
2015-06-04 9:14 ` Wei Liu
2015-06-04 9:26 ` Ian Campbell
2015-06-04 9:32 ` Andrew Cooper
2015-06-04 9:46 ` 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=556E52DF.109@cn.fujitsu.com \
--to=yanghy@cn.fujitsu.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=dslutz@verizon.com \
--cc=ian.campbell@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=wei.liu2@citrix.com \
--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.