All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
	Zhigang Wang <zhigang.x.wang@oracle.com>
Subject: Re: xl list -l doesn't work for incoming domain
Date: Mon, 10 Nov 2014 12:38:53 +0000	[thread overview]
Message-ID: <1415623133.25176.10.camel@citrix.com> (raw)
In-Reply-To: <20141110123525.GD28360@zion.uk.xensource.com>

On Mon, 2014-11-10 at 12:35 +0000, Wei Liu wrote:
> On Fri, Nov 07, 2014 at 11:34:33AM -0500, Zhigang Wang wrote:
> > On 11/07/2014 05:47 AM, Wei Liu wrote:
> > > On Thu, Nov 06, 2014 at 02:14:42PM -0500, Zhigang Wang wrote:
> > >> Hi,
> > >>
> > >> While doing VM migration, in the destination side:
> > >>
> > >>    # xl list -l
> > >>     libxl: error: libxl.c:6535:libxl_retrieve_domain_configuration: fail to get domain configuration for domain 7
> > >>     [
> > >>         {
> > >>             "domid": 0,
> > >>             "config": {
> > >>                 "c_info": {
> > >>                     "type": "pv",
> > >>                     "name": "Domain-0"
> > >>                 },
> > >>                 "b_info": {
> > >>                     "max_memkb": 876544,
> > >>                     "target_memkb": 876543,
> > >>                     "sched_params": {
> > >>     
> > >>                     },
> > >>                     "type.pv": {
> > >>     
> > >>                     }
> > >>                 }
> > >>             }
> > >>         }
> > >>     ]
> > >>  
> > >>     # xl list
> > >>     Name                                          ID   Mem VCPUs      State   Time(s)
> > >>     Domain-0                                       0   856     4     r-----    2758.9
> > >>     0004fb00000600003f327a843a5f2b72--incoming     7   131     1     --p---       0.0
> > >>
> > >> Testing on:
> > >>
> > > 
> > > What's the rune you used to migrate the domain? xl migrate? Why is the
> > > domain paused?
> > 
> > The domain is under migrating, so the destination side it's paused. When migration finish,
> > it will become running.
> > 
> > FYI: the domain migration will success.
> > 
> 
> I see. At that point the configuration was not available, yet. After the
> domain is successfully migrated, the configuration should be available.
> 
> I think a domain under construction without domain configuration is a
> valid state. What do you think?

Can we write a stub json file at the beginning of migrate receive, a bit
like we do on create?

Otherwise code like xl list is going to have start special casing
domains which have no json, which we've tried hard to avoid I think.

Ian.

  reply	other threads:[~2014-11-10 12:38 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06 19:14 xl list -l doesn't work for incoming domain Zhigang Wang
2014-11-07 10:47 ` Wei Liu
2014-11-07 16:34   ` Zhigang Wang
2014-11-10 12:35     ` Wei Liu
2014-11-10 12:38       ` Ian Campbell [this message]
2014-11-10 13:54         ` Wei Liu
2014-11-10 14:05           ` Ian Campbell
2014-11-10 14:16             ` Wei Liu
2014-11-10 15:01       ` Zhigang Wang
2014-11-10 15:25         ` Wei Liu
2014-11-10 17:08           ` Zhigang Wang
2014-11-10 17:24             ` Wei Liu
2014-11-10 17:54               ` Zhigang Wang
2014-11-11 11:01                 ` Wei Liu
2014-11-11 14:41                   ` Zhigang Wang
2014-11-11 15:20                     ` Wei Liu
2014-11-11 16:42                       ` Zhigang Wang
2014-11-12 11:31                         ` Wei Liu
2014-11-12 14:36                           ` Zhigang Wang
2014-11-12 14:40                             ` Ian Campbell
2014-11-12 14:48                               ` Zhigang Wang
2014-11-12 14:52                                 ` Ian Campbell
2014-11-12 15:04                                   ` Zhigang Wang
2014-11-12 15:40                                     ` Wei Liu
2014-11-13 11:44                                     ` 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=1415623133.25176.10.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    --cc=zhigang.x.wang@oracle.com \
    /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.