54c03c
From d4c4ea8c4ea77471fc72639d31c38d3d39bc0453 Mon Sep 17 00:00:00 2001
54c03c
From: Peter Robinson <pbrobinson@gmail.com>
54c03c
Date: Wed, 23 Jan 2019 03:19:21 +0000
54c03c
Subject: [PATCH 06/13] Setup graphical console on all architectures except
54c03c
 s390x
54c03c
54c03c
The graphical console is now supported on all architectures except
54c03c
s390x so set it up to enable screenshot fucntionality across all
54c03c
supported architectures.
54c03c
54c03c
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
54c03c
---
54c03c
 oz/Guest.py | 4 ++--
54c03c
 1 file changed, 2 insertions(+), 2 deletions(-)
54c03c
54c03c
diff --git a/oz/Guest.py b/oz/Guest.py
54c03c
index 418b888..dfb63e4 100644
54c03c
--- a/oz/Guest.py
54c03c
+++ b/oz/Guest.py
54c03c
@@ -500,8 +500,8 @@ class Guest(object):
54c03c
         # devices
54c03c
         devices = oz.ozutil.lxml_subelement(domain, "devices")
54c03c
         # graphics
54c03c
-        if self.tdl.arch not in ["aarch64", "armv7l", "s390x"]:
54c03c
-            # qemu for arm/aarch64/s390x does not support a graphical console - amazingly
54c03c
+        if not self.tdl.arch in ["s390x"]:
54c03c
+            # qemu for s390x does not support a graphical console
54c03c
             oz.ozutil.lxml_subelement(devices, "graphics", None, {'port': '-1', 'type': 'vnc'})
54c03c
         # network
54c03c
         interface = oz.ozutil.lxml_subelement(devices, "interface", None, {'type': 'bridge'})
54c03c
-- 
54c03c
2.20.1
54c03c