[PATCH 10/12] KVM: PPC: Book3S HV: Run virtual core whenever any vcpus in it can run

2012-08-28 Thread Paul Mackerras
Currently the Book3S HV code implements a policy on multi-threaded processors (i.e. POWER7) that requires all of the active vcpus in a virtual core to be ready to run before we run the virtual core. However, that causes problems on reset, because reset stops all vcpus except vcpu 0, and can also

[PATCH 10/12] KVM: PPC: Book3S HV: Run virtual core whenever any vcpus in it can run

2012-08-28 Thread Paul Mackerras
Currently the Book3S HV code implements a policy on multi-threaded processors (i.e. POWER7) that requires all of the active vcpus in a virtual core to be ready to run before we run the virtual core. However, that causes problems on reset, because reset stops all vcpus except vcpu 0, and can also