From: Kurt Garloff Subject: Exit console rather than spin on domain exit Signed-off-by: Kurt Garloff diff -uNrp xen-2.0-testing/tools/python/xen/util/console_client.py xen-2.0-testing.exit/tools/python/xen/util/console_client.py --- xen-2.0-testing/tools/python/xen/util/console_client.py 2005-03-08 11:20:38.000000000 +0100 +++ xen-2.0-testing.exit/tools/python/xen/util/console_client.py 2005-03-08 11:19:47.000000000 +0100 @@ -36,6 +36,8 @@ def __recv_from_sock(sock): except os.error, error: if error[0] != errno.EINTR: raise + if len(data) == 0: + sys.exit(0) os.wait() def __send_to_sock(sock):