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

[Xen-devel] [PATCH] Fix xm dump-core command for inactive managed domains



Hi,

When I tried xm dump-core command to a inactive managed domain, 
I saw the following error messages. 
The 1st error message was solved by changeset 15519. 
But the 2nd error message is not yet solved. 

# xm list vm1
Name                                        ID   Mem VCPUs      State   Time(s)
vm1                                              256     2                 0.0
# xm dump-core vm1
Error: int() argument must be a string or a number
Usage: xm dump-core [-L|--live] [-C|--crash] <Domain> [Filename]

Dump core for a specific domain.
  -L, --live                     Dump core without pausing the domain       
  -C, --crash                    Crash domain after dumping core            

# xm dump-core --live vm1
Dumping core of domain: vm1 ...
Error: int argument required
Usage: xm dump-core [-L|--live] [-C|--crash] <Domain> [Filename]

Dump core for a specific domain.
  -L, --live                     Dump core without pausing the domain       
  -C, --crash                    Crash domain after dumping core            


This patch fixes the 2nd error message as follows. 

# xm dump-core --live vm1
Dumping core of domain: vm1 ...
Error: Domain 'vm1' is not started
Usage: xm dump-core [-L|--live] [-C|--crash] <Domain> [Filename]

Dump core for a specific domain.
  -L, --live                     Dump core without pausing the domain
  -C, --crash                    Crash domain after dumping core


Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: xm_dump_core.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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