[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xl list -l doesn't work for incoming domain



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@xxxxxxxxxx>
>>     Date:   Fri Oct 24 10:58:33 2014 +0100
>>
>> Thanks,
>>
>> Zhigang


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.