mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-devtest
synced 2026-01-15 18:33:31 +01:00
os.be.*.Machine: Rename CPU -> DUT
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
1c674dfa3f
commit
6e04ffdcbe
2 changed files with 4 additions and 4 deletions
|
|
@ -361,10 +361,10 @@ class Machine(MachineBase): # export
|
|||
async def request_power_on(self, env):
|
||||
if self.__running:
|
||||
raise Exception("Tried to power on a running Qemu machine")
|
||||
slog(NOTICE, "switching on CPU")
|
||||
slog(NOTICE, "switching on DUT")
|
||||
await self.monitor.write(b'cont\n')
|
||||
await self.__await_monitor_prompt()
|
||||
slog(NOTICE, "switched on CPU")
|
||||
slog(NOTICE, "switched on DUT")
|
||||
self.__running = True
|
||||
|
||||
async def wait_up(self, env):
|
||||
|
|
|
|||
|
|
@ -54,9 +54,9 @@ class Machine(MachineBase): # export
|
|||
async def request_power_on(self, env):
|
||||
if self.__running:
|
||||
raise Exception("Tried to power on a running shell command machine")
|
||||
slog(NOTICE, "switching on CPU")
|
||||
slog(NOTICE, "switching on DUT")
|
||||
await self.__run('request-power-on')
|
||||
slog(NOTICE, "switched on CPU")
|
||||
slog(NOTICE, "switched on DUT")
|
||||
#await asyncio.sleep(1)
|
||||
self.__running = True
|
||||
self.__clear_for_tests = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue