xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: Xen-devel <xen-devel@lists.xenproject.org>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Ian Campbell <ian.campbell@citrix.com>,
	andrew.cooper3@citrix.com
Subject: Re: [PATCH for 4.6 v2 3/3] xl/libxl: disallow saving a guest with vNUMA configured
Date: Wed, 09 Sep 2015 13:33:15 -0400	[thread overview]
Message-ID: <55F06D5B.50100@oracle.com> (raw)
In-Reply-To: <20150909172943.GD8496@zion.uk.xensource.com>

On 09/09/2015 01:29 PM, Wei Liu wrote:
> On Wed, Sep 09, 2015 at 01:17:40PM -0400, Boris Ostrovsky wrote:
>> On 09/09/2015 01:03 PM, Wei Liu wrote:
>>> This is due to migration v2 frame record doesn't contain node
>>> information.
>>>
>>> Signed-off-by: Wei Liu <wei.liu2@citrix.com>
>>> ---
>>> Cc: andrew.cooper3@citrix.com
>>> ---
>>>   docs/man/xl.cfg.pod.5   |  2 ++
>>>   tools/libxl/libxl_dom.c | 14 ++++++++++++++
>>>   2 files changed, 16 insertions(+)
>>>
>>> diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5
>>> index 80e51bb..dbd0700 100644
>>> --- a/docs/man/xl.cfg.pod.5
>>> +++ b/docs/man/xl.cfg.pod.5
>>> @@ -263,6 +263,8 @@ virtual node.
>>>   Note that virtual NUMA for PV guest is not yet supported, because
>>>   there is an issue with cpuid handling that affects PV virtual NUMA.
>>> +Further more, guest with virtual NUMA cannot be saved or migrated
>>> +because node information of guest frames is not preserved.
>> Should we also issue a warning during startup if nomigrate is not set?
>>
> <dig dig>
>
> Ah, there is such option. I can certainly give a warning. The only
> problem is it seems to be stale in libxl, there is no code that checks
> that! I can still migrate a guest even with nomigrate set to true.
>
> Maybe someone with more knowledge about that option can lecture me on
> what that does? The manpage says it *enables* certain feature? Does that
> actually mean *make available*?

IIRC it was added to allow/control certain TSC modes (see domain_cpuid()).

-boris

  reply	other threads:[~2015-09-09 17:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09 17:03 [PATCH for 4.6 v2 0/3] More vNUMA patches Wei Liu
2015-09-09 17:03 ` [PATCH for 4.6 v2 1/3] libxl: set ret to non-zero value in failure path Wei Liu
2015-09-10 10:55   ` Ian Campbell
2015-09-10 15:16     ` Ian Campbell
2015-09-11 13:26       ` Ian Jackson
2015-09-11 13:28         ` Wei Liu
2015-09-11 14:41           ` Ian Jackson
2015-09-09 17:03 ` [PATCH for 4.6 v2 2/3] libxc: introduce xc_domain_getvnuma Wei Liu
2015-09-10 11:01   ` Ian Campbell
2015-09-09 17:03 ` [PATCH for 4.6 v2 3/3] xl/libxl: disallow saving a guest with vNUMA configured Wei Liu
2015-09-09 17:17   ` Boris Ostrovsky
2015-09-09 17:29     ` Wei Liu
2015-09-09 17:33       ` Boris Ostrovsky [this message]
2015-09-09 17:41         ` Wei Liu
2015-09-10 13:53         ` Wei Liu
2015-09-09 18:49   ` Andrew Cooper
2015-09-09 20:21     ` Wei Liu
2015-09-10 11:04       ` 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=55F06D5B.50100@oracle.com \
    --to=boris.ostrovsky@oracle.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.campbell@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).