ia64/xen-unstable

changeset 19438:453ebb3279e8

xend: fix domain_migrate

When the guest(pv-on-hvm guest that cannot suspend) reboot in
LiveMigration, the disconnecting of src-side is not transmitted to
dist-side. As a result, the error processing on the dist side is not
executed.

Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 31 11:13:56 2009 +0100 (2009-03-31)
parents f86ebd7f887a
children 6c316510ce73
files tools/python/xen/xend/XendDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomain.py	Tue Mar 31 11:12:39 2009 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomain.py	Tue Mar 31 11:13:56 2009 +0100
     1.3 @@ -1378,6 +1378,7 @@ class XendDomain:
     1.4                  XendCheckpoint.save(sock.fileno(), dominfo, True, live,
     1.5                                      dst, node=node)
     1.6              finally:
     1.7 +                sock.shutdown(socket.SHUT_RDWR)
     1.8                  sock.close()
     1.9  
    1.10      def domain_save(self, domid, dst, checkpoint=False):