[Libguestfs] [PATCH v2v] v2v: -o openstack: Allow guests to be converted to UEFI (RHBZ#1872094).

Richard W.M. Jones rjones at redhat.com
Tue Aug 25 07:23:52 UTC 2020


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




More information about the Libguestfs mailing list