summary refs log tree commit diff stats
path: root/tests/qtest/boot-serial-test.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-12-20 17:40:42 +0100
committerThomas Huth <thuth@redhat.com>2021-12-22 08:13:05 +0100
commit046da5ef5747b8ae8efa02bd1d068abd5d639a12 (patch)
treeaa5cb14e701278c249c9440f6b4ce883b615fbfb /tests/qtest/boot-serial-test.c
parent1b529d908d1e97ac154ab0e68573f8c211aac3f1 (diff)
downloadfocaccia-qemu-046da5ef5747b8ae8efa02bd1d068abd5d639a12.tar.gz
focaccia-qemu-046da5ef5747b8ae8efa02bd1d068abd5d639a12.zip
tests/qtest/boot-serial-test: Silence the warning about deprecated sga device
When running the qtests, there are currently a bunch of warnings about
the deprecated sga device during the boot-serial-test. Switch to
"-M graphics=off" to silence these warnings.

Message-Id: <20211220164042.397028-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest/boot-serial-test.c')
-rw-r--r--tests/qtest/boot-serial-test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c
index 4d8e1343bd..d72a82d629 100644
--- a/tests/qtest/boot-serial-test.c
+++ b/tests/qtest/boot-serial-test.c
@@ -157,11 +157,11 @@ static testdef_t tests[] = {
     { "ppc64", "powernv8", "", "OPAL" },
     { "ppc64", "powernv9", "", "OPAL" },
     { "ppc64", "sam460ex", "-device e1000", "8086  100e" },
-    { "i386", "isapc", "-cpu qemu32 -device sga", "SGABIOS" },
-    { "i386", "pc", "-device sga", "SGABIOS" },
-    { "i386", "q35", "-device sga", "SGABIOS" },
-    { "x86_64", "isapc", "-cpu qemu32 -device sga", "SGABIOS" },
-    { "x86_64", "q35", "-device sga", "SGABIOS" },
+    { "i386", "isapc", "-cpu qemu32 -M graphics=off", "SeaBIOS" },
+    { "i386", "pc", "-M graphics=off", "SeaBIOS" },
+    { "i386", "q35", "-M graphics=off", "SeaBIOS" },
+    { "x86_64", "isapc", "-cpu qemu32 -M graphics=off", "SeaBIOS" },
+    { "x86_64", "q35", "-M graphics=off", "SeaBIOS" },
     { "sparc", "LX", "", "TMS390S10" },
     { "sparc", "SS-4", "", "MB86904" },
     { "sparc", "SS-600MP", "", "TMS390Z55" },