Richard W.M. Jones
2020-Aug-25  07:23 UTC
[Libguestfs] [PATCH v2v] v2v: -o openstack: Allow guests to be converted to UEFI (RHBZ#1872094).
Since this output method was written the code has always been capable
of adding the hw_firmware_type = uefi image property, and this
property has been supported since at least OpenStack 12 which is years
old.
Interestingly now all of the output modes support both BIOS and UEFI.
---
 v2v/output_openstack.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/v2v/output_openstack.ml b/v2v/output_openstack.ml
index 179b0edf63..fdc04b02f8 100644
--- a/v2v/output_openstack.ml
+++ b/v2v/output_openstack.ml
@@ -390,7 +390,7 @@ object
      | None -> ""
      | Some op -> " -op " ^ op)
 
-  method supported_firmware = [ TargetBIOS ]
+  method supported_firmware = [ TargetBIOS; TargetUEFI ]
 
   (* List of Cinder volume IDs. *)
   val mutable volume_ids = []
-- 
2.28.0.rc2
Apparently Analagous Threads
- [PATCH 1/2] v2v: -o glance: add property for UEFI firmware (RHBZ#1445659)
- [PATCH v3 06/13] v2v: factor out determining the guest firmware
- [PATCH] v2v: -o local: Check that UEFI firmware is installed before conversion.
- [PATCH v2 07/17] v2v: factor out determing the guest firmware
- [PATCH] v2v: ovf: add firmware and machine type element
