Hello,
    With the xm save and restore, I am able to restore same domain 
twice. But the issue is domain name remains the same.
    1. Save the image of a domain using xm store command.
    2. Execute xm restore twice (or multiple times), on each execution a 
new domain is restored but with the same name.
    Now, all other options like suspend, vcpu-set, mem-set will have 
problems. (Usually works for the first domain of the duplicate domain names)
*bash-3.2# xm list*
Name                                      ID   Mem   VCPUs    State   
Time(s)
Domain-0                                   0  1856     4     r-----   4379.0
sunmc-v240-02-lz2                         13  1024     1     -b----    438.8
*bash-3.2# xm save sunmc-v240-02-lz2 guestdomain*
*bash-3.2# xm restore guestdomain*
*bash-3.2# xm list*
Name                               ID   Mem VCPUs      State   Time(s)
Domain-0                            0  1856     4     r-----   4387.6
sunmc-v240-02-lz2                  13  1024     1     -b----    438.9
sunmc-v240-02-lz2                  14  1023     1     -b----      6.7
*bash-3.2#
**bash-3.2# xm mem-set sunmc-v240-02-lz2 512
*
*bash-3.2# xm list*
Name                                      ID   Mem VCPUs      State   
Time(s)
Domain-0                                   0  1856     4     r-----   4411.3
sunmc-v240-02-lz2                         13   512     1     -b----    444.2
sunmc-v240-02-lz2                         14  1023     1     -b----      9.7
*bash-3.2# xm suspend sunmc-v240-02-lz2
bash-3.2# xm list*
Name                                      ID   Mem VCPUs      State   
Time(s)
Domain-0                                   0  1856     4     r-----   4421.0
sunmc-v240-02-lz2                         14  1023     1     -b----      9.8
*bash-3.2#
bash-3.2# xm resume sunmc-v240-02-lz2
*Error: Error occurred when resuming: Cannot resume domain that is not 
halted.
Usage: xm resume <DomainName>
Resume a Xend managed domain
  -p, --paused                   Do not unpause domain after resuming it*
bash-3.2#
*Just wanted to know, are the above options valid (having duplicate 
domain name)?. I believe this operation (restore with same domain name) 
should not be allowed.
Thanks,
Sunil