VRS_RUN
error = vm_set_run_state(vcpu, bsp ? VRS_RUN : VRS_HALT, 0);
err = vm_set_run_state(vcpu, VRS_RUN, 0);
case VRS_RUN:
if (ring->vr_state == VRS_RUN) {
if (ring->vr_state == VRS_RUN)
if (ring->vr_state == VRS_RUN) {
case VRS_RUN:
ring->vr_state = VRS_RUN;
if (ring->vr_state != VRS_RUN ||
ASSERT3U(ring->vr_state, ==, VRS_RUN);
ASSERT3U(ring->vr_state, ==, VRS_RUN);
vcpu->run_state &= ~(VRS_RUN | VRS_PEND_INIT);
if ((vcpu->run_state & (VRS_INIT | VRS_RUN | VRS_PEND_SIPI)) ==
vcpu->run_state |= VRS_RUN;
if ((vcpu->run_state & VRS_RUN) != 0) {
if ((vcpu->run_state & (VRS_INIT | VRS_RUN)) == VRS_INIT) {
return ((vcpu->run_state & (VRS_RUN | VRS_PEND_INIT)) != VRS_RUN);
((v) & (VRS_INIT | VRS_RUN | VRS_PEND_SIPI | VRS_PEND_SIPI))