From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhigang Wang Subject: Re: xl list -l doesn't work for incoming domain Date: Fri, 07 Nov 2014 11:34:33 -0500 Message-ID: <545CF499.8080606@oracle.com> References: <545BC8A2.20604@oracle.com> <20141107104752.GB28188@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XmmUs-0000cc-I8 for xen-devel@lists.xenproject.org; Fri, 07 Nov 2014 16:34:50 +0000 In-Reply-To: <20141107104752.GB28188@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: xen-devel List-Id: xen-devel@lists.xenproject.org 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 >> Date: Fri Oct 24 10:58:33 2014 +0100 >> >> Thanks, >> >> Zhigang