exit round-robin vcpu loop if cpu->stopped is true
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 12 Mar 2011 16:43:58 +0000 (17:43 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Mar 2011 14:44:21 +0000 (14:44 +0000)
commit4f54b355acf29ab49e09b232dc9dda20f8dc8f3d
tree4d34e050b61067f2e71569d3443a002a2ee9843a
parente5398ff7960341d271c79db6d6646bc13c82d334
exit round-robin vcpu loop if cpu->stopped is true

Sometimes vcpus are stopped directly without going through ->stop = 1.
Exit the VCPU execution loop in this case as well.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
cpus.c