Masaki Kanno
2008-Nov-14 06:51 UTC
[Xen-devel] [PATCH] Fix to save CPU affinity for xm save/restore
Hi, CPU affinity of a domain is saved into a checkpoint file by this patch, then VCPUs are repinned when the domain is restored. # xm vcpu-list vm1 Name ID VCPU CPU State Time(s) CPU Affinity vm1 10 0 1 -b- 19.5 1 vm1 10 1 0 -b- 16.0 0 # xm save vm1 ~/vm1.checkpoint # xm restore ~/vm1.checkpoint # xm vcpu-list vm1 Name ID VCPU CPU State Time(s) CPU Affinity vm1 11 0 1 -b- 0.0 1 vm1 11 1 0 -b- 0.0 0 # xm vcpu-list vm1 Name ID VCPU CPU State Time(s) CPU Affinity vm1 12 0 1 -b- 18.4 1 vm1 12 1 0 -b- 16.7 0 # xm suspend vm1 # xm vcpu-list vm1 Name ID VCPU CPU State Time(s) CPU Affinity vm1 0 0.0 1 vm1 1 0.0 0 # xm resume vm1 # xm vcpu-list vm1 Name ID VCPU CPU State Time(s) CPU Affinity vm1 13 0 1 -b- 0.0 1 vm1 13 1 0 -b- 0.0 0 Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> Best regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel