summaryrefslogtreecommitdiffstats
path: root/Documentation/virtual/kvm/devices
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2015-03-13 17:02:52 +0000
committerChristoffer Dall <christoffer.dall@linaro.org>2015-03-14 13:44:52 +0100
commitecccf0cc722f40e0dcc97872e7a960765119a256 (patch)
tree85a9d5575976623c9f6ba01081eaa6a0108be722 /Documentation/virtual/kvm/devices
parentaeda9130c38e2e0e77c1aaa65292c2f5a81107a8 (diff)
downloadlinux-ecccf0cc722f40e0dcc97872e7a960765119a256.tar.bz2
arm/arm64: KVM: export VCPU power state via MP_STATE ioctl
To cleanly restore an SMP VM we need to ensure that the current pause state of each vcpu is correctly recorded. Things could get confused if the CPU starts running after migration restore completes when it was paused before it state was captured. We use the existing KVM_GET/SET_MP_STATE ioctl to do this. The arm/arm64 interface is a lot simpler as the only valid states are KVM_MP_STATE_RUNNABLE and KVM_MP_STATE_STOPPED. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'Documentation/virtual/kvm/devices')
0 files changed, 0 insertions, 0 deletions