diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index e7a8aa5589..b193cdde66 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -32,12 +32,6 @@ from xen.xend.XendRoot import get_component from xen.xend.uuid import getUuid from xen.xend.xenstore import DBVar -"""Flag for a block device backend domain.""" -SIF_BLK_BE_DOMAIN = (1<<4) - -"""Flag for a net device backend domain.""" -SIF_NET_BE_DOMAIN = (1<<5) - """Shutdown code for poweroff.""" DOMAIN_POWEROFF = 0 diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 95d29c642a..4542fd1d7b 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -8,6 +8,12 @@ from xen.xend.xenstore import DBVar from xen.xend.server import channel +"""Flag for a block device backend domain.""" +SIF_BLK_BE_DOMAIN = (1<<4) + +"""Flag for a net device backend domain.""" +SIF_NET_BE_DOMAIN = (1<<5) + class ImageHandler: """Abstract base class for image handlers.