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

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