From 54eed43122750e81367d91e52ae672f5115e7945 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 27 May 2024 08:14:21 +0200 Subject: Use monitor instead of QPM in test-machine scripts This allows us to test system_powerdown. --- test-machine | 6 ++++-- test-machine-aarch64-m1 | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/test-machine b/test-machine index cdd6001..597d83c 100755 --- a/test-machine +++ b/test-machine @@ -77,11 +77,13 @@ fi -usb \ -device usb-tablet \ \ - -chardev stdio,id=qmp \ - -mon chardev=qmp,mode=control,pretty=on \ + -monitor stdio \ \ -boot c "$@" + #-chardev stdio,id=qmp \ + #-mon chardev=qmp,mode=control,pretty=on \ + # -chardev socket,id=mon,path=/tmp/test-machine-sock,server,nowait \ # -mon chardev=mon,mode=readline \ diff --git a/test-machine-aarch64-m1 b/test-machine-aarch64-m1 index 990f5a8..62248b2 100755 --- a/test-machine-aarch64-m1 +++ b/test-machine-aarch64-m1 @@ -105,11 +105,13 @@ fi \ -vnc :1 \ \ - -chardev stdio,id=qmp \ - -mon chardev=qmp,mode=control,pretty=on \ + -monitor stdio \ \ -boot c "$@" +# -chardev stdio,id=qmp \ +# -mon chardev=qmp,mode=control,pretty=on \ + if [ -z "$etap" ]; then sudo ip tuntap delete "$tap" mode tap fi -- cgit v1.1