| 1255 | } |
| 1256 | |
| 1257 | static void |
| 1258 | vcpu_require_state_locked(struct vm *vm, int vcpuid, enum vcpu_state newstate) |
| 1259 | { |
| 1260 | int error; |
| 1261 | |
| 1262 | if ((error = vcpu_set_state_locked(vm, vcpuid, newstate, false)) != 0) |
| 1263 | panic("Error %d setting state to %d", error, newstate); |
| 1264 | } |
| 1265 | |
| 1266 | #define RENDEZVOUS_CTR0(vm, vcpuid, fmt) \ |
| 1267 | do { \ |
no test coverage detected