Update toVmState to use combination of status and power state.