[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] CPU affinity reset during save/restore
Hi, This is an improved patch for restoring CPU affinity on domain resume. > The attached patch just copies the code related to CPU affinity from > XendDomainInfo._initDomain() into XendDomainInfo._setCPUAffinity() and calls > this method from _initDomain() and resume(). I've added a try-except around self._setCPUAffinity() in resum() so that the domain can be resumed on different HW, where CPUs mentioned in the 'cpus' list are not available. In that case, the affinity is just ignored. Without this improvement, such domain would fail to resume with invalid argument. Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx> Attachment:
cpu-affinity_2.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |