|
|
|
|
|
|
|
|
|
|
xen-devel
[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@xxxxxxxxxxxxxx>
Best regards,
Kan
restore_cpus_affinity.patch
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Fix to save CPU affinity for xm save/restore,
Masaki Kanno <=
|
|
|
|
|