ia64/xen-unstable

changeset 2226:54c0a4a84934

bitkeeper revision 1.1159.1.54 (411ccef5vRCRvxYF0z95fvDvPccAuA)

Update domain.py for the new controller interface.
author mjw@wray-m-3.hpl.hp.com
date Fri Aug 13 14:23:49 2004 +0000 (2004-08-13)
parents f8bc691dd640
children c5441fce57f0 decc8ed25d45
files tools/python/xen/xend/server/domain.py
line diff
     1.1 --- a/tools/python/xen/xend/server/domain.py	Fri Aug 13 14:17:22 2004 +0000
     1.2 +++ b/tools/python/xen/xend/server/domain.py	Fri Aug 13 14:23:49 2004 +0000
     1.3 @@ -48,7 +48,7 @@ class DomainController(controller.Contro
     1.4  
     1.5      def __init__(self, factory, dom):
     1.6          controller.Controller.__init__(self, factory, dom)
     1.7 -        self.majorTypes = [ CMSG_SHUTDOWN ]
     1.8 +        self.addMethod(CMSG_SHUTDOWN, 0, None)
     1.9          self.registerChannel()
    1.10  
    1.11      def shutdown(self, reason):