ia64/xen-unstable

changeset 5905:598c92956925

Move SIF_BLK_BE_DOMAIN and SIF_NET_BE_DOMAIN definitions to where they are used.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Wed Jul 27 17:00:24 2005 +0000 (2005-07-27)
parents 2c67026ea29d
children c6c6cfaab2bf
files tools/python/xen/xend/XendDomainInfo.py tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Wed Jul 27 16:57:37 2005 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Wed Jul 27 17:00:24 2005 +0000
     1.3 @@ -32,12 +32,6 @@ from xen.xend.XendRoot import get_compon
     1.4  from xen.xend.uuid import getUuid
     1.5  from xen.xend.xenstore import DBVar
     1.6  
     1.7 -"""Flag for a block device backend domain."""
     1.8 -SIF_BLK_BE_DOMAIN = (1<<4)
     1.9 -
    1.10 -"""Flag for a net device backend domain."""
    1.11 -SIF_NET_BE_DOMAIN = (1<<5)
    1.12 -
    1.13  """Shutdown code for poweroff."""
    1.14  DOMAIN_POWEROFF = 0
    1.15  
     2.1 --- a/tools/python/xen/xend/image.py	Wed Jul 27 16:57:37 2005 +0000
     2.2 +++ b/tools/python/xen/xend/image.py	Wed Jul 27 17:00:24 2005 +0000
     2.3 @@ -8,6 +8,12 @@ from xen.xend.xenstore import DBVar
     2.4  
     2.5  from xen.xend.server import channel
     2.6  
     2.7 +"""Flag for a block device backend domain."""
     2.8 +SIF_BLK_BE_DOMAIN = (1<<4)
     2.9 +
    2.10 +"""Flag for a net device backend domain."""
    2.11 +SIF_NET_BE_DOMAIN = (1<<5)
    2.12 +
    2.13  class ImageHandler:
    2.14      """Abstract base class for image handlers.
    2.15