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

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