| |
@@ -305,11 +305,14 @@
|
| |
"-enable-kvm",
|
| |
# Do not display video output
|
| |
"-display", "none",
|
| |
- # Disable VGA card to avoid crash on ppc with PR
|
| |
- # https://lists.gnu.org/archive/html/qemu-devel/2018-05/msg07070.html
|
| |
- "-vga", "none"
|
| |
]
|
| |
+
|
| |
# Add platform specific settings:
|
| |
+ if "ppc" in platform.machine():
|
| |
+ # Disable VGA card to avoid crash on ppc with PR
|
| |
+ # https://lists.gnu.org/archive/html/qemu-devel/2018-05/msg07070.html
|
| |
+ qemu_common_params += ["-vga", "none"]
|
| |
+
|
| |
if platform.machine() == "aarch64":
|
| |
# Emulate the same generic interrupt controller as the host system has
|
| |
qemu_M_param = ["-M", "virt,gic_version=host"]
|
| |
Adding
-vga none
to qemu breaks using the inventory script with RHEL 6images. It was added to fix something on PPC platforms, therefore add it
only for these platforms.