Displaying 12 results from an estimated 12 matches for "ki_is_xen_pv_only_kernel".
2017 Apr 06
0
[PATCH v3 2/8] v2v: linux: Fix Xen PV-only detection.
...a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -397,7 +397,7 @@ let rec convert (g : G.guestfs) inspect source output rcaps =
(* Check a non-Xen kernel exists. *)
let only_xen_kernels = List.for_all (
- fun { ki_is_xen_kernel = is_xen_kernel } -> is_xen_kernel
+ fun { ki_is_xen_pv_only_kernel = is_xen_pv_only_kernel } -> is_xen_pv_only_kernel
) bootloader_kernels in
if only_xen_kernels then
error (f_"only Xen kernels are installed in this guest.\n\nRead the %s(1) manual, section \"XEN PARAVIRTUALIZED GUESTS\", to see what to do.") prog;
@@ -417,7...
2017 Apr 06
0
[PATCH v4 2/9] v2v: linux: Fix Xen PV-only detection.
...a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -397,7 +397,7 @@ let rec convert (g : G.guestfs) inspect source output rcaps =
(* Check a non-Xen kernel exists. *)
let only_xen_kernels = List.for_all (
- fun { ki_is_xen_kernel = is_xen_kernel } -> is_xen_kernel
+ fun { ki_is_xen_pv_only_kernel = is_xen_pv_only_kernel } -> is_xen_pv_only_kernel
) bootloader_kernels in
if only_xen_kernels then
error (f_"only Xen kernels are installed in this guest.\n\nRead the %s(1) manual, section \"XEN PARAVIRTUALIZED GUESTS\", to see what to do.") prog;
@@ -417,7...
2017 Apr 06
9
[PATCH v3 0/8] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1: https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html
v2: https://www.redhat.com/archives/libguestfs/2017-April/msg00040.html
v2 -> v3:
- Fix Xen PV-only kernel detection.
Rich.
2017 Apr 06
12
[PATCH v4 0/9] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1: https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html
v2: https://www.redhat.com/archives/libguestfs/2017-April/msg00040.html
v3: https://www.redhat.com/archives/libguestfs/2017-April/msg00051.html
v3 -> v4:
- Properly fix Xen PV-only kernel detection, and test it.
Rich.
2017 Apr 06
0
[PATCH v4 3/9] v2v: linux: Replace 'ki_supports_virtio' field.
...c0..725bd03c2 100644
--- a/v2v/linux_kernels.ml
+++ b/v2v/linux_kernels.ml
@@ -38,18 +38,25 @@ type kernel_info = {
ki_initrd : string option;
ki_modpath : string;
ki_modules : string list;
- ki_supports_virtio : bool;
+ ki_supports_virtio_blk : bool;
+ ki_supports_virtio_net : bool;
ki_is_xen_pv_only_kernel : bool;
ki_is_debug : bool;
ki_config_file : string option;
}
-let string_of_kernel_info ki =
- sprintf "(%s, %s, %s, %s, %s, %s, virtio=%b, xen=%b, debug=%b)"
- ki.ki_name ki.ki_version ki.ki_arch ki.ki_vmlinuz
- (match ki.ki_initrd with None -> "None" | Some...
2017 Apr 06
1
Re: [PATCH v4 3/9] v2v: linux: Replace 'ki_supports_virtio' field.
...s, virtio=%b, xen=%b, debug=%b)"
> - ki.ki_name ki.ki_version ki.ki_arch ki.ki_vmlinuz
> - (match ki.ki_initrd with None -> "None" | Some f -> f)
> - (match ki.ki_config_file with None -> "None" | Some f -> f)
> - ki.ki_supports_virtio ki.ki_is_xen_pv_only_kernel ki.ki_is_debug
> +let print_kernel_info chan prefix ki =
Can you please expose this function (as interface in linux_kernels.mli)
in this patch already (instead of patch #9)?
Thanks,
--
Pino Toscano
2020 Sep 23
0
[v2v PATCH 3/3] linux: remove special handling of packages with no files
...lk = supports_virtio_blk;
- ki_supports_virtio_net = supports_virtio_net;
- ki_supports_virtio_rng = supports_virtio_rng;
- ki_supports_virtio_balloon = supports_virtio_balloon;
- ki_supports_isa_pvpanic = supports_isa_pvpanic;
- ki_is_xen_pv_only_kernel = is_xen_pv_only_kernel;
- ki_is_debug = is_debug;
- ki_config_file = config_file;
- }
- )
+ Some {
+ ki_app = app;
+ ki_name = name;
+ ki_version = version;
+ ki_arch = arch;
+...
2020 Sep 23
3
[v2v PATCH 1/3] linux: remove warning for packages with no files
Metapackages are valid packages with no files, used to easily install
something without manually installing bits.
This is the case of the "kernel" package in Fedora/RHEL/etc in the last
couple of years.
---
v2v/linux_kernels.ml | 1 -
1 file changed, 1 deletion(-)
diff --git a/v2v/linux_kernels.ml b/v2v/linux_kernels.ml
index 9a41225a..78c1ee59 100644
--- a/v2v/linux_kernels.ml
+++
2017 Sep 21
18
[PATCH v2 00/18] Replace many more uses of the Str module with PCRE.
v1 was here:
https://www.redhat.com/archives/libguestfs/2017-September/msg00135.html
This is a more complete evolution of the earlier patch. It replaces
most important uses of Str with PCRE throughout the code. It also
extends the bindings with some useful features like case-insensitive
regexps.
The main places I *didn't* touch are the generator (GObject uses Str
extensively); and
2017 Sep 22
27
[PATCH v3 00/22] Replace almost all uses of the Str module with PCRE.
v1:
https://www.redhat.com/archives/libguestfs/2017-September/msg00135.html
v2:
https://www.redhat.com/archives/libguestfs/2017-September/msg00158.html
v3 is almost identical to v2, but I have added 4 extra commits to
almost finish the job of replacing Str everywhere possible (note it's
not possible to replace Str in common/mlstdutils or the generator
because those are pure OCaml).
As
2018 Nov 01
1
[PATCH UNFINISHED] v2v: Split up huge manual page into smaller pages.
This patch is incomplete, but early feedback would be welcome.
Rich.
2018 Nov 02
2
[PATCH v2 0/2] v2v: Split up huge manual page into smaller pages.
Previously posted:
https://www.redhat.com/archives/libguestfs/2018-November/msg00000.html
https://www.redhat.com/archives/libguestfs/2018-November/msg00001.html
This completes the split and rewrite of the virt-v2v manual to make it
much simpler to understand and digest.
Rich.