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

[Xen-changelog] Move SIF_BLK_BE_DOMAIN and SIF_NET_BE_DOMAIN definitions to where they are used.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 598c92956925ceb57b3f03f9be9923a52f53a748
# Parent  2c67026ea29d5e000cfee3ec90d2e233ebd4ed46
Move SIF_BLK_BE_DOMAIN and SIF_NET_BE_DOMAIN definitions to where they are used.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 2c67026ea29d -r 598c92956925 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Wed Jul 27 16:57:37 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Wed Jul 27 17:00:24 2005
@@ -31,12 +31,6 @@
 
 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 -r 2c67026ea29d -r 598c92956925 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Wed Jul 27 16:57:37 2005
+++ b/tools/python/xen/xend/image.py    Wed Jul 27 17:00:24 2005
@@ -7,6 +7,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.

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.