[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [Xen-devel Patch 0/2] Prevent xc_domain_restore() returning success despite errors
When looking through the XenServer patch queue, I noticed two bugfixes which really should make their way upstream. Both of these errors have been discovered by xc_domain_restore() returning success after suffering a fatal error during migration, leading to the toolstack believing that the VM migrated successfully. Regarding 4.4: I know this is quite late in the 4.4 cycle, and I apologise for not noticing and upstreaming earlier, but I believe that these two fixes should be considered for inclusion into 4.4. They are both real errors found by XenRT causing mismanagement of migrated domains. Both patches are small, concise, and (I believe) well explained. The the use of various '*rc' variables can be easily viewed using `grep "rc " xc_domain_restore.c`. The risks are that I have made a mistake which could result in further migration errors. However, that risk is mitigated by functionally-similar fixes being present in XenServer, and hopefully from the obvious nature of the patches. Futhermore, the changes themselves are for error paths. On the other hand, if they are deemed too risky (or buggy given review), it will not be the end of the world if not included, although I hope that is not the case. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx> CC: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> CC: George Dunlap <george.dunlap@xxxxxxxxxxxxx> -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |