|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Move definition of xc and xend to avoid confusing pylint
# HG changeset patch
# User emellor@ewan
# Node ID b67ef34cf91bf1387c013715e9bb5c033caac715
# Parent 5007bebba2f58c567f58adebe6159848fe107760
Move definition of xc and xend to avoid confusing pylint.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r 5007bebba2f5 -r b67ef34cf91b tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Sun Sep 18 14:50:12 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py Sun Sep 18 15:00:24 2005
@@ -28,10 +28,10 @@
import threading
import errno
-import xen.lowlevel.xc; xc = xen.lowlevel.xc.new()
+import xen.lowlevel.xc
from xen.util.blkif import blkdev_uname_to_file
-from xen.xend.server import SrvDaemon; xend = SrvDaemon.instance()
+from xen.xend.server import SrvDaemon
from xen.xend.server.channel import EventChannel
from xen.xend import sxp
@@ -91,6 +91,12 @@
"""Flag for a TPM device backend domain."""
SIF_TPM_BE_DOMAIN = (1<<7)
+
+
+xc = xen.lowlevel.xc.new()
+
+
+xend = SrvDaemon.instance()
def domain_exists(name):
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Move definition of xc and xend to avoid confusing pylint.,
Xen patchbot -unstable <=
|
Previous by Date: |
[Xen-changelog] Renamed XendDomainInfo.getTargetMemory to getMemoryTarget, for consistency with, Xen patchbot -unstable |
Next by Date: |
[Xen-changelog] Added allocateDeviceID, which uses the store to keep track of per-domain,, Xen patchbot -unstable |
Previous by Thread: |
[Xen-changelog] Renamed XendDomainInfo.getTargetMemory to getMemoryTarget, for consistency with, Xen patchbot -unstable |
Next by Thread: |
[Xen-changelog] Added allocateDeviceID, which uses the store to keep track of per-domain,, Xen patchbot -unstable |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|
|
|