WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Where does it actually shutdown a domain with reason 'suspen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Where does it actually shutdown a domain with reason 'suspend' in xend or xen ?
From: huang.shuangqing@xxxxxxxxxx
Date: Tue, 9 Nov 2010 08:21:10 +0800
Delivery-date: Mon, 08 Nov 2010 16:33:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Where does it actually shutdown a domain with reason 'suspend' in xend or xen ?, huang . shuangqing <=