mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
marionette: Add support for QEMU's "quit" command.
* gnu/build/marionette.scm (marionette-control): Don't wait for the monitor prompt when the command was "quit".
This commit is contained in:
parent
d973915e48
commit
4dd53a83b5
1 changed files with 2 additions and 1 deletions
|
@ -222,7 +222,8 @@ (define (marionette-control command marionette)
|
|||
(($ <marionette> _ _ monitor)
|
||||
(display command monitor)
|
||||
(newline monitor)
|
||||
(wait-for-monitor-prompt monitor))))
|
||||
;; The "quit" command terminates QEMU immediately, with no output.
|
||||
(unless (string=? command "quit") (wait-for-monitor-prompt monitor)))))
|
||||
|
||||
(define* (marionette-screen-text marionette
|
||||
#:key
|
||||
|
|
Loading…
Reference in a new issue