Home
last modified time | relevance | path

Searched refs:runstate (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/migration/
H A Dglobal_state.c30 uint8_t runstate[32]; member
44 assert(strlen(state_str) < sizeof(global_state.runstate)); in global_state_do_store()
45 strpadcpy((char *)global_state.runstate, sizeof(global_state.runstate), in global_state_do_store()
83 char *runstate = (char *)s->runstate; in global_state_post_load() local
86 trace_migrate_global_state_post_load(runstate); in global_state_post_load()
88 if (strnlen((char *)s->runstate, in global_state_post_load()
89 sizeof(s->runstate)) == sizeof(s->runstate)) { in global_state_post_load()
97 s->runstate[sizeof(s->runstate) - 1] = '\0'; in global_state_post_load()
99 r = qapi_enum_parse(&RunState_lookup, runstate, -1, &local_err); in global_state_post_load()
124 trace_migrate_global_state_pre_save((char *)s->runstate); in global_state_pre_save()
[all …]
/openbmc/qemu/python/qemu/qmp/
H A Dprotocol.py142 if proto.runstate != required_state:
143 if proto.runstate == Runstate.CONNECTING:
145 elif proto.runstate == Runstate.DISCONNECTING:
148 elif proto.runstate == Runstate.RUNNING:
150 elif proto.runstate == Runstate.IDLE:
154 raise StateError(emsg, proto.runstate, required_state)
257 def runstate(self) -> Runstate: member in AsyncProtocol
267 return self.runstate
297 assert self.runstate == Runstate.RUNNING
325 assert self.runstate == Runstate.CONNECTING
[all …]
H A Dlegacy.py313 if self._qmp.runstate != Runstate.IDLE:
320 if self._qmp.runstate != Runstate.IDLE:
329 if self._qmp.runstate != Runstate.IDLE:
H A Dqmp_tui.py348 if self.runstate == Runstate.IDLE:
356 elif self.runstate == Runstate.DISCONNECTING:
362 state = cast(Runstate, self.runstate)
/openbmc/qemu/system/
H A Dmeson.build27 'runstate-action.c',
28 'runstate-hmp-cmds.c',
29 'runstate.c',
/openbmc/qemu/python/tests/
H A Dprotocol.py172 self.proto.runstate,
211 self.assertEqual(self.proto.runstate, Runstate.IDLE)
215 self.assertEqual(self.proto.runstate, Runstate.IDLE)
411 assert self.proto.runstate == Runstate.CONNECTING
459 self.assertEqual(self.proto.runstate, Runstate.RUNNING)
465 self.assertEqual(self.proto.runstate, Runstate.RUNNING)
/openbmc/qemu/stubs/
H A Dmeson.build25 stub_ss.add(files('runstate-check.c'))
/openbmc/qemu/tests/qemu-iotests/
H A Diotests.py1090 runstate = None
1091 while runstate != expect_runstate:
1092 runstate = self.qmp('query-status')['return']['status']
/openbmc/qemu/net/
H A Dvmnet-common.m20 #include "system/runstate.h"
/openbmc/qemu/linux-headers/asm-x86/
H A Dkvm.h644 } runstate; member
/openbmc/qemu/docs/devel/migration/
H A DCPR.rst37 guest in the suspended runstate, such as by issuing the
/openbmc/qemu/ui/
H A Dcocoa.m38 #include "system/runstate.h"
39 #include "system/runstate-action.h"
/openbmc/qemu/
H A DMAINTAINERS3261 F: include/system/runstate.h
3262 F: include/system/runstate-action.h
3269 F: system/runstate*
/openbmc/qemu/qapi/
H A Dmigration.json643 # guest in the suspended runstate, such as by issuing