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