Displaying 2 results from an estimated 2 matches for "cfb19b4".
2017 Apr 26
2
[PATCH 1/2] v2v: -o glance: add property for UEFI firmware (RHBZ#1445659)
...st with UEFI firmware, set the also
hw_firmware_type=uefi property for all the disks of the guest, so Nova
can properly boot the guest.
---
v2v/output_glance.ml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/v2v/output_glance.ml b/v2v/output_glance.ml
index b712d68..cfb19b4 100644
--- a/v2v/output_glance.ml
+++ b/v2v/output_glance.ml
@@ -41,7 +41,7 @@ object
method as_options = "-o glance"
- method supported_firmware = [ TargetBIOS ]
+ method supported_firmware = [ TargetBIOS; TargetUEFI ]
method prepare_targets source targets =
(* This do...
2017 Apr 26
0
[PATCH 2/2] v2v: -o glance: factorize common properties
...y once, instead of doing that for every disk.
Should be just code motion, with no behaviour change.
---
v2v/output_glance.ml | 143 ++++++++++++++++++++++++++-------------------------
1 file changed, 73 insertions(+), 70 deletions(-)
diff --git a/v2v/output_glance.ml b/v2v/output_glance.ml
index cfb19b4..3feb2e4 100644
--- a/v2v/output_glance.ml
+++ b/v2v/output_glance.ml
@@ -66,6 +66,78 @@ object
) targets
method create_metadata source targets _ guestcaps inspect target_firmware =
+ (* Collect the common properties for all the disks. *)
+ let min_ram = source.s_memory /^ 1024L /^...