All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhigang Wang <zhigang.x.wang@oracle.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: xl list -l doesn't work for incoming domain
Date: Fri, 07 Nov 2014 11:34:33 -0500	[thread overview]
Message-ID: <545CF499.8080606@oracle.com> (raw)
In-Reply-To: <20141107104752.GB28188@zion.uk.xensource.com>

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.

> What's inside /var/lib/xen?

# xl list
Name                                        ID   Mem VCPUs	State	Time(s)
Domain-0                                     0   856     4     r-----    1669.2
0004fb0000060000834f0ecf044b2219--incoming     3   700     0     --p---       0.0

# ls /var/lib/xen
qemu-resume.3  userdata-d.0.00000000-0000-0000-0000-000000000000.libxl-json  userdata-d.11.0004fb00-0006-0000-eadd-3c2eb729617a.libxl-json  xenpaging

It seems no userdata for this domain.

> What's the content of xenstore?

# xenstore-ls  -f
/local = ""
/local/domain = ""
/local/domain/0 = ""
/local/domain/0/domid = "0"
/local/domain/0/name = "Domain-0"
/local/domain/0/device-model = ""
/local/domain/0/device-model/0 = ""
/local/domain/0/device-model/0/state = "running"
/local/domain/0/memory = ""
/local/domain/0/memory/target = "876544"
/local/domain/0/memory/static-max = "876544"
/local/domain/0/memory/freemem-slack = "628980"
/local/domain/0/libxl = ""
/local/domain/0/libxl/disable_udev = "1"
/local/domain/3 = ""
/local/domain/3/vm = "/vm/0004fb00-0006-0000-834f-0ecf044b2219"
/local/domain/3/name = "0004fb0000060000834f0ecf044b2219--incoming"
/local/domain/3/cpu = ""
/local/domain/3/memory = ""
/local/domain/3/device = ""
/local/domain/3/device/suspend = ""
/local/domain/3/device/suspend/event-channel = ""
/local/domain/3/control = ""
/local/domain/3/control/shutdown = ""
/local/domain/3/control/platform-feature-multiprocessor-suspend = "1"
/local/domain/3/control/platform-feature-xs_reset_watches = "1"
/local/domain/3/data = ""
/vm = ""
/vm/0004fb00-0006-0000-834f-0ecf044b2219 = ""
/vm/0004fb00-0006-0000-834f-0ecf044b2219/uuid = "0004fb00-0006-0000-834f-0ecf044b2219"
/vm/0004fb00-0006-0000-834f-0ecf044b2219/name = "0004fb0000060000834f0ecf044b2219--incoming"
/libxl = ""
/libxl/3 = ""

Thanks,

Zhigang

> Wei.
> 
>>     commit 816f5bb1f0740be8355e1be6cc24edf09547d984
>>     Author: Ian Campbell <ian.campbell@citrix.com>
>>     Date:   Fri Oct 24 10:58:33 2014 +0100
>>
>> Thanks,
>>
>> Zhigang

  reply	other threads:[~2014-11-07 16:34 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 [this message]
2014-11-10 12:35     ` Wei Liu
2014-11-10 12:38       ` Ian Campbell
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=545CF499.8080606@oracle.com \
    --to=zhigang.x.wang@oracle.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.