Displaying 7 results from an estimated 7 matches for "comprression".
Did you mean:
compression
2016 Nov 21
2
Re: [PATCH v2 2/5] v2v: ova: don't detect compressed disks, read the OVF instead
...']/@ovf:compression" file_ref in
> + let compressed =
> + match xpath_string expr with
> + | None | Some "identity" -> false
> + | Some "gzip" -> true
> + | Some s -> error (f_"unsupported comprression in OVF: %s") s in
Typo here, "compression".
Also, the two "expr" and "compressed" let could be isolated in the
"let filename" block.
> +
> + let filename = if compressed then (
> + let new_filename = tmpdir // String.rando...
2016 Nov 12
0
[PATCH v2 2/5] v2v: ova: don't detect compressed disks, read the OVF instead
.../ovf:File[@ovf:id='%s']/@ovf:compression" file_ref in
+ let compressed =
+ match xpath_string expr with
+ | None | Some "identity" -> false
+ | Some "gzip" -> true
+ | Some s -> error (f_"unsupported comprression in OVF: %s") s in
+
+ let filename = if compressed then (
+ let new_filename = tmpdir // String.random8 () ^ ".vmdk" in
+ let cmd =
+ sprintf "zcat %s > %s" (quote ovf_folder // filename) (quote new_filename) in
+ if...
2016 Nov 04
0
[PATCH 4/5] v2v: ova: don't extract files from OVA if it's not needed
...(f_"checksum of disk %s does not match manifest %s (actual %s(%s) = %s, expected %s(%s) = %s)")
disk mf mode disk actual mode disk expected;
@@ -283,25 +342,49 @@ object
| Some "gzip" -> true
| Some s -> error (f_"unsupported comprression in OVF: %s") s in
- let filename = if compressed then (
+ let filename, partial = if compressed then (
+ if partial then
+ untar ~path:((subfolder ovf_folder exploded) // filename)
+ ova tmpdir;
let new_filename = tmpdir /...
2016 Nov 12
0
[PATCH v2 4/5] v2v: ova: don't extract files from OVA if it's not needed
...(f_"checksum of disk %s does not match manifest %s (actual %s(%s) = %s, expected %s(%s) = %s)")
disk mf mode disk actual mode disk expected;
@@ -283,25 +389,50 @@ object
| Some "gzip" -> true
| Some s -> error (f_"unsupported comprression in OVF: %s") s in
- let filename = if compressed then (
- let new_filename = tmpdir // String.random8 () ^ ".vmdk" in
- let cmd =
- sprintf "zcat %s > %s" (quote ovf_folder // filename) (quote new_filename) in
- if...
2016 Nov 12
9
[PATCH v2 0/5] Import directly from OVA tar archive if possible
This series is related to the problem of inefficient import of OVA
files. The needed enhancements of QEMU were merged into the codebase and
should be available in QEMU 2.8. From there we can use 'size' and
'offset' options in raw driver to tell QEMU to use only subset of a file
as an image.
The patch set is more or less complete. The only outstanding issue is
the missing detection
2016 Nov 21
2
Re: [PATCH v2 4/5] v2v: ova: don't extract files from OVA if it's not needed
...disk %s does not match manifest %s (actual %s(%s) = %s, expected %s(%s) = %s)")
> disk mf mode disk actual mode disk expected;
> @@ -283,25 +389,50 @@ object
> | Some "gzip" -> true
> | Some s -> error (f_"unsupported comprression in OVF: %s") s in
>
> - let filename = if compressed then (
> - let new_filename = tmpdir // String.random8 () ^ ".vmdk" in
> - let cmd =
> - sprintf "zcat %s > %s" (quote ovf_folder // filename) (quote new_fil...
2016 Nov 04
10
[PATCH 0/5] Import directly from OVA tar archive if possible
This is still a draft, not ready for commit yet. But feedback is
welcomed.
This series is related to the problem of inefficient import of OVA
files. The needed enhancements of QEMU was merged into the codebase and
should be available in QEMU 2.8. From there we can use 'size' and
'offset' options in raw driver to tell QEMU to use only subset of a file
as an image.
The first three