Displaying 6 results from an estimated 6 matches for "guestfs_kind".
Did you mean:
guestfs_find
2015 Oct 20
2
[PATCH v3 11/13] v2v: add --in-place mode
...essage (f_"Opening the overlay");
+ let conversion_mode =
+ if not in_place then (
+ let overlays = create_overlays source.s_disks in
+ let targets = init_targets overlays source output output_format in
+ Copying (overlays, targets)
+ )
+ else In_place in
+
+ let guestfs_kind = (match conversion_mode with
+ | Copying (_, _) -> "overlay"
+ | In_place -> "source VM"
+ ) in
+
+ message (f_"Opening the %s") guestfs_kind;
let g = open_guestfs () in
- populate_overlays g ove...
2015 Oct 20
0
Re: [PATCH v3 11/13] v2v: add --in-place mode
Can you repost the final 3 patches, rebased on top of current master?
More comments below ...
On Tue, Oct 20, 2015 at 04:08:19PM +0300, Roman Kagan wrote:
> + let guestfs_kind = (match conversion_mode with
> + | Copying (_, _) -> "overlay"
> + | In_place -> "source VM"
> + ) in
> +
> + message (f_"Opening the %s") guestfs_kind;
This is a bit cleaner if writt...
2015 Aug 11
0
[PATCH v2 15/17] v2v: add --in-place mode
...ts overlays source output output_format in
+ let overlays =
+ if not in_place then create_overlays source.s_disks
+ else [] in
+ let targets =
+ if not in_place then init_targets overlays source output output_format
+ else [] in
- message (f_"Opening the overlay");
+ let guestfs_kind =
+ if not in_place then "overlay" else "source VM" in
+ message (f_"Opening the %s") guestfs_kind;
let g = open_guestfs () in
- populate_overlays g overlays;
+
+ if not in_place then populate_overlays g overlays
+ else populate_disks g source.s_disks;
g...
2015 Aug 27
1
Re: [PATCH v2 15/17] v2v: add --in-place mode
...= open_source input print_source in
let source = amend_source source output_name network_map in
let overlays =
if not in_place then create_overlays source.s_disks
else [] in
let targets =
if not in_place then init_targets overlays source output output_format
else [] in
let guestfs_kind =
if not in_place then "overlay" else "source VM" in
message (f_"Opening the %s") guestfs_kind;
let g = open_guestfs () in
if not in_place then populate_overlays g overlays
else populate_disks g source.s_disks;
g#launch ();
(* Inspection - this also...
2015 Aug 27
2
Re: [PATCH v2 15/17] v2v: add --in-place mode
On Tue, Aug 11, 2015 at 08:00:34PM +0300, Roman Kagan wrote:
> + let overlays =
> + if not in_place then create_overlays source.s_disks
> + else [] in
> + let targets =
> + if not in_place then init_targets overlays source output output_format
> + else [] in
This doesn't solve the problem I raised before which is that overlays
and targets should never be empty
2015 Aug 11
41
[PATCH v2 00/17] v2v: add --in-place mode
This series is a second attempt to add a mode of virt-v2v operation
where it leaves the config and disk image conversion, rollback on
errors, registering with the destination hypervisor, etc. to a
third-party toolset, and performs only tuning of the guest OS to run in
the KVM-based hypervisor.
The first 14 patches are just refactoring and rearrangement of the code,
factoring the implementation