|
|
|
|
|
|
|
|
|
|
xen-devel
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>
cpu-affinity_2.patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|