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

[Xen-devel] [PATCH] Fix xm save command for a inactive managed domain



Hi,

I tried to test wrong operations on purpose.

1. When I tried xm save command to a inactive managed domain, 
   I saw the following error message. The error message did not 
   have a domain name. 

 # xm list vm1
 Name                                        ID   Mem VCPUs      State   Time(s)
 vm1                                              512     2                 0.0
 # xm save vm1 /xen/save.vm1
 Error: Domain '' does not exist.

2. When I tried xm save command to Domain-0, I saw the following 
   error message. 

 # xm save Domain-0 /xen/save.Domain-0
 Error: int argument required
 Usage: xm save [-c] <Domain> <CheckpointFile>
 
 Save a domain state to restore later.
   -c, --checkpoint               Leave domain running after creating
                                  snapshot

I made a patch.  It solved the problems. 

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

Best regards,
 Kan

Attachment: xm_save.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®.