render / rpms / qemu

Forked from rpms/qemu 9 months ago
Clone

Blame 0001-tests-Disable-pci_virtio_vga-for-ppc64.patch

Eduardo Lima (Etrunko) 055837
From f6d5fd60f54fb9dcdc3733154637a3a214f5d5af Mon Sep 17 00:00:00 2001
Eduardo Lima (Etrunko) 055837
From: "Eduardo Lima (Etrunko)" <etrunko@redhat.com>
Eduardo Lima (Etrunko) 055837
Date: Thu, 1 Sep 2022 12:43:49 -0300
Eduardo Lima (Etrunko) 055837
Subject: [PATCH] tests: Disable pci_virtio_vga for ppc64
Eduardo Lima (Etrunko) 055837
Eduardo Lima (Etrunko) 055837
starting QEMU: exec ./qemu-system-ppc64 -qtest unix:/tmp/qtest-2378197.sock -qtest-log /dev/null -chardev socket,path=/tmp/qtest-2378197.qmp,id=char0 -mon chardev=char0,mode=control -display none -vga none -device virtio-vga -accel qtest
Eduardo Lima (Etrunko) 055837
stderr:
Eduardo Lima (Etrunko) 055837
qemu-system-ppc64: -device virtio-vga: 'virtio-vga' is not a valid device model name
Eduardo Lima (Etrunko) 055837
Broken pipe
Eduardo Lima (Etrunko) 055837
../tests/qtest/libqtest.c:156: kill_qemu() tried to terminate QEMU process but encountered exit status 1 (expected 0)
Eduardo Lima (Etrunko) 055837
Eduardo Lima (Etrunko) 055837
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
Eduardo Lima (Etrunko) 055837
---
Eduardo Lima (Etrunko) 055837
 tests/qtest/display-vga-test.c | 2 +-
Eduardo Lima (Etrunko) 055837
 1 file changed, 1 insertion(+), 1 deletion(-)
Eduardo Lima (Etrunko) 055837
Eduardo Lima (Etrunko) 055837
diff --git a/tests/qtest/display-vga-test.c b/tests/qtest/display-vga-test.c
Eduardo Lima (Etrunko) 055837
index ace3bb28e0..628dad4cf2 100644
Eduardo Lima (Etrunko) 055837
--- a/tests/qtest/display-vga-test.c
Eduardo Lima (Etrunko) 055837
+++ b/tests/qtest/display-vga-test.c
Eduardo Lima (Etrunko) 055837
@@ -61,7 +61,7 @@ int main(int argc, char **argv)
Eduardo Lima (Etrunko) 055837
     qtest_add_func("/display/pci/multihead", pci_multihead);
Eduardo Lima (Etrunko) 055837
     qtest_add_func("/display/pci/virtio-gpu", pci_virtio_gpu);
Eduardo Lima (Etrunko) 055837
     if (g_str_equal(arch, "i386") || g_str_equal(arch, "x86_64") ||
Eduardo Lima (Etrunko) 055837
-        g_str_equal(arch, "hppa") || g_str_equal(arch, "ppc64")) {
Eduardo Lima (Etrunko) 055837
+        g_str_equal(arch, "hppa")) {
Eduardo Lima (Etrunko) 055837
         qtest_add_func("/display/pci/virtio-vga", pci_virtio_vga);
Eduardo Lima (Etrunko) 055837
     }
Eduardo Lima (Etrunko) 055837
 
Eduardo Lima (Etrunko) 055837
-- 
Eduardo Lima (Etrunko) 055837
2.37.2
Eduardo Lima (Etrunko) 055837