Blame SOURCES/0025-v2v-o-openstack-Allow-guests-to-be-converted-to-UEFI.patch

7ed5e3
From 82d56820db4f05711b125daf46a4777e99dbdf87 Mon Sep 17 00:00:00 2001
7ed5e3
From: "Richard W.M. Jones" <rjones@redhat.com>
7ed5e3
Date: Tue, 25 Aug 2020 08:23:52 +0100
7ed5e3
Subject: [PATCH] v2v: -o openstack: Allow guests to be converted to UEFI
7ed5e3
 (RHBZ#1872094).
7ed5e3
7ed5e3
Since this output method was written the code has always been capable
7ed5e3
of adding the hw_firmware_type = uefi image property, and this
7ed5e3
property has been supported since at least OpenStack 12 which is years
7ed5e3
old.
7ed5e3
7ed5e3
Interestingly now all of the output modes support both BIOS and UEFI.
7ed5e3
7ed5e3
(cherry picked from commit 5fa65a13fbbaab03cb558d0c776c17227433f1b3)
7ed5e3
---
7ed5e3
 v2v/output_openstack.ml | 2 +-
7ed5e3
 1 file changed, 1 insertion(+), 1 deletion(-)
7ed5e3
7ed5e3
diff --git a/v2v/output_openstack.ml b/v2v/output_openstack.ml
7ed5e3
index 179b0edf..fdc04b02 100644
7ed5e3
--- a/v2v/output_openstack.ml
7ed5e3
+++ b/v2v/output_openstack.ml
7ed5e3
@@ -390,7 +390,7 @@ object
7ed5e3
      | None -> ""
7ed5e3
      | Some op -> " -op " ^ op)
7ed5e3
 
7ed5e3
-  method supported_firmware = [ TargetBIOS ]
7ed5e3
+  method supported_firmware = [ TargetBIOS; TargetUEFI ]
7ed5e3
 
7ed5e3
   (* List of Cinder volume IDs. *)
7ed5e3
   val mutable volume_ids = []
7ed5e3
-- 
446330
2.27.0
7ed5e3