Blob Blame History Raw
From ba326a8e1e0258a4254d1304f3c7447e996e3dc4 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Thu, 2 Mar 2017 14:21:37 +0100
Subject: [PATCH] RHEL 7: v2v: -i disk: force VNC as display (RHBZ#1372671)

The SDL output mode is not supported in RHEL 7's qemu-kvm.
---
 v2v/input_disk.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/input_disk.ml b/v2v/input_disk.ml
index 27f8553..1f319a4 100644
--- a/v2v/input_disk.ml
+++ b/v2v/input_disk.ml
@@ -83,7 +83,7 @@ class input_disk input_format disk = object
       s_features = [ "acpi"; "apic"; "pae" ];
       s_firmware = UnknownFirmware;       (* causes virt-v2v to autodetect *)
       s_display =
-        Some { s_display_type = Window; s_keymap = None; s_password = None;
+        Some { s_display_type = VNC; s_keymap = None; s_password = None;
                s_listen = LNoListen; s_port = None };
       s_video = None;
       s_sound = None;
-- 
2.9.4