Blob Blame History Raw
From a6b21f626a74c436563c14751f19f60a6433e153 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: v2v: -i disk: force VNC as display (RHBZ#1372671)

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

diff --git a/input/input_disk.ml b/input/input_disk.ml
index 0d92f256..753938f6 100644
--- a/input/input_disk.ml
+++ b/input/input_disk.ml
@@ -70,7 +70,7 @@ let rec disk_source dir options args =
     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_sound = None;
     s_disks = s_disks;
-- 
2.31.1