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

[Xen-devel] Where does it actually shutdown a domain with reason 'suspend' in xend or xen ?




In xend, when save -c a domain, shutdown it with reason 'suspend' firstly,

    -- self.storeDom("control/shutdown", reason)

then in _handleShutdownWatch,  read the reason . If reason is 'suspend', do nothing.

    -- reason = self.readDom('control/shutdown')
    -- if reason and reason != 'suspend':
       ...            
    --  return True

Question is : where does it actually shutdown a domain with reason 'suspend' in xend  or xen ? Which function is the entry to process it?

xen version: 4.0.1

Thanks,
John.

-----------------------
中兴通讯  中心研究院  成都研究所
地    址:成都市高新区天府大道中段800号 A8-08
邮    编:610041
手机    :15108231898
MSN     :huang_shuangqing@xxxxxxxxxxx
-----------------------

--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail is solely property of the sender's organization. This mail communication is confidential. Recipients named above are obligated to maintain secrecy and are not permitted to disclose the contents of this communication to others.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. Any views expressed in this message are those of the individual sender.
This message has been scanned for viruses and Spam by ZTE Anti-Spam system.
_______________________________________________
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®.