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

[Xen-changelog] [xen-unstable] xend: Revert c/s 19436 -- fails with Python 2.3, and sock.close()



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1238588254 -3600
# Node ID 01873414cfc13f6682210551b8fb3cb1b77bb2dd
# Parent  2bbd2c26462d1e9b49adab8ea51b6f587930469d
xend: Revert c/s 19436 -- fails with Python 2.3, and sock.close()
should suffice to shutdown a connection.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/python/xen/xend/XendDomain.py |    1 -
 1 files changed, 1 deletion(-)

diff -r 2bbd2c26462d -r 01873414cfc1 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py       Wed Apr 01 13:12:13 2009 +0100
+++ b/tools/python/xen/xend/XendDomain.py       Wed Apr 01 13:17:34 2009 +0100
@@ -1378,7 +1378,6 @@ class XendDomain:
                 XendCheckpoint.save(sock.fileno(), dominfo, True, live,
                                     dst, node=node)
             finally:
-                sock.shutdown(socket.SHUT_RDWR)
                 sock.close()
 
     def domain_save(self, domid, dst, checkpoint=False):

_______________________________________________
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®.