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

[Xen-devel] [PATCH] [HVM] fix a HVM save/restore race condition after r15639



Tim,

The qemu save command sending is moved from saveInputHandler to 
refreshShutdown(too late) in r15639, so higher possibility that control panel 
read a not ready qemu state file especially for live migration.

If reading happened before qemu create this file, a python missing file 
exception would occur. If before qemu put the record length in the file header 
as the last step, dest machine would try to restore a zero length qemu file to 
lead state lost in each device.

Attached patch can fix it, pls. have a look.

Thanks,


-- 
best rgds,
edwin

Attachment: hvm_live_migration_fix_r15716.patch
Description: Text document

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

 


Rackspace

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