Displaying 9 results from an estimated 9 matches for "override_output_format".
2019 Nov 25
3
Re: [PATCH] rhv-upload: Support qcow2 disks
...which is the disk format. commpressed format will also not
> work. *)
> > + [ "-n"; "-f"; "qcow2"; "-O"; "raw" ] @
>
> This is going to break all the other output modes.
>
> You probably want to define a new method output#override_output_format
> (see v2v.ml:get_target_formats and types.mli).
>
Maybe outpu#tranfer_format?
Return output_format by default, rhv_output will override it to return raw?
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat
> http://people.redhat.com/~rjones
> Read my programmi...
2019 Nov 25
0
Re: [PATCH] rhv-upload: Support qcow2 disks
...pressed format will also not
> > work. *)
> > > + [ "-n"; "-f"; "qcow2"; "-O"; "raw" ] @
> >
> > This is going to break all the other output modes.
> >
> > You probably want to define a new method output#override_output_format
> > (see v2v.ml:get_target_formats and types.mli).
> >
>
> Maybe outpu#tranfer_format?
> Return output_format by default, rhv_output will override it to return raw?
Isn't that essentially what #override_output_format virtual method
does already?
Rich.
--
Richard Jones,...
2019 Nov 20
2
[PATCH] rhv-upload: Support qcow2 disks
When using oVirt >= 4.3, we can enable the NBD based backend in imageio
by specifying that we transfer raw data when creating a transfer.
With the NBD backend, we can specify qcow2 disk format.
I think we need a way to expose the capabilities of the output to the
user. For example, can we use qcow2 format.
Issues:
- I hacked qemu-img convert command line to always use -O raw instead of
2019 Apr 30
1
[PATCH] v2v: Allow output modes to rewrite disk copying
...v2v/types.mli | 8 +++++++-
v2v/v2v.ml | 17 +++--------------
3 files changed, 25 insertions(+), 15 deletions(-)
diff --git a/v2v/types.ml b/v2v/types.ml
index 77f879200a26..2780f05fdfbf 100644
--- a/v2v/types.ml
+++ b/v2v/types.ml
@@ -521,6 +521,21 @@ class virtual output = object
method override_output_format (_ : overlay) = (None : string option)
method virtual prepare_targets : source -> (string * overlay) list -> target_buses -> guestcaps -> inspect -> target_firmware -> target_file list
method disk_create = (open_guestfs ())#disk_create
+ method disk_copy target compressed =...
2019 Sep 16
0
[PATCH 5/8] v2v: add output#disk_copied hook
...-
v2v/types.ml | 1 +
v2v/types.mli | 4 ++++
v2v/v2v.ml | 9 ++++++++-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/v2v/types.ml b/v2v/types.ml
index 77f879200..714b30014 100644
--- a/v2v/types.ml
+++ b/v2v/types.ml
@@ -521,6 +521,7 @@ class virtual output = object
method override_output_format (_ : overlay) = (None : string option)
method virtual prepare_targets : source -> (string * overlay) list -> target_buses -> guestcaps -> inspect -> target_firmware -> target_file list
method disk_create = (open_guestfs ())#disk_create
+ method disk_copied (_ : target) (_ :...
2019 Nov 25
0
Re: [PATCH] rhv-upload: Support qcow2 disks
...rget_format
> + * which is the disk format. commpressed format will also not work. *)
> + [ "-n"; "-f"; "qcow2"; "-O"; "raw" ] @
This is going to break all the other output modes.
You probably want to define a new method output#override_output_format
(see v2v.ml:get_target_formats and types.mli).
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers...
2020 Jan 28
2
[v2v PATCH 1/2] Add back guestcaps as parameter of output#prepare_targets
...File (dir // source_name ^ "-" ^ ov.ov_sd)
) overlays
diff --git a/v2v/output_null.ml b/v2v/output_null.ml
index df451f9f..36710e68 100644
--- a/v2v/output_null.ml
+++ b/v2v/output_null.ml
@@ -89,7 +89,7 @@ object
(* Force raw output, ignoring -of command line option. *)
method override_output_format _ = Some "raw"
- method prepare_targets _ overlays =
+ method prepare_targets _ overlays _ =
if can_use_qemu_null_co_device () then (
let json_params = [
"file.driver", JSON.String "null-co";
diff --git a/v2v/output_openstack.ml b/v2v/output_op...
2019 Nov 26
6
[PATCH v2 0/3] rhv-upload: Support import to qcow2 disk
Add support for qcow2 disk format, enabled by imageio NBD backend in RHV 4.3.
To use this feature manually, you can run virt-v2v with "-of qcow2".
Here is example run:
Source disk:
$ qemu-img info /var/tmp/fedora-30.img
image: /var/tmp/fedora-30.img
file format: raw
virtual size: 6 GiB (6442450944 bytes)
disk size: 1.15 GiB
virt-v2v:
$ ./run virt-v2v \
-v \
-i disk
2019 Sep 16
16
[PATCH 0/8] v2v: various fixed for -o rhv-upload
This patch series fixes various issues in the rhv-upload output mode:
- properly find and use RHV resources
- cleanup orphan disks, and possibly the current disk transfer on
failure
In reality, the first 4 patches deal with resources, and the other 4
with cleanups. The latter block can be theoretically sent alone --
I just happened to start working on it as part of my "let's fix