Displaying 20 results from an estimated 68 matches for "i_product_nam".
Did you mean:
i_product_name
2016 Apr 26
4
v2v: Remove --no-trim, --vmtype options and other fixes.
The first two patches implement the change discussed here:
https://www.redhat.com/archives/libguestfs/2016-April/msg00178.html
The third patch fixes the mapping of inspection data to OVF VmType
which was inherited directly from old virt-v2v and had never been
changed. It had a number of problems.
The fourth patch is only slightly related to the others. It adds an
extra slow test to ensure that
2018 Nov 23
1
[PATCH v2] v2v: Add support for libosinfo metadata
...inor)
+
+ | { i_type = "linux"; i_distro = "centos"; i_major_version = major } ->
+ Some (sprintf "http://centos.org/centos/%d.0" major)
+
+ | { i_type = "linux"; i_distro = "sles";
+ i_major_version = major; i_minor_version = 0;
+ i_product_name = product } when String.find product "Desktop" >= 0 ->
+ Some (sprintf "http://suse.com/sled/%d" major)
+
+ | { i_type = "linux"; i_distro = "sles";
+ i_major_version = major; i_minor_version = minor;
+ i_product_name = product } when Str...
2015 Oct 20
1
[PATCH v3 05/13] v2v: factor out actual guest transformation
...eletions(-)
diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index a2b6f52..633c29f 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -84,35 +84,8 @@ let rec main () =
check_free_space mpstats;
check_target_free_space mpstats source targets output;
- (* Conversion. *)
- let guestcaps =
- (match inspect.i_product_name with
- | "unknown" ->
- message (f_"Converting the guest to run on KVM")
- | prod ->
- message (f_"Converting %s to run on KVM") prod
- );
-
- (* RHEV doesn't support serial console so remove any on conversion. *)
- let keep_serial_c...
2019 Feb 28
2
[PATCH] v2v: -o libvirt: write win2k19 osinfo ID
...1 @@ let get_osinfo_id = function
| { i_type = "windows"; i_major_version = 6; i_minor_version = 3 } ->
Some "http://microsoft.com/win/8.1"
+ | { i_type = "windows"; i_major_version = 10; i_minor_version = 0;
+ i_product_variant = "Server"; i_product_name = product }
+ when String.find product "2019" >= 0 ->
+ Some "http://microsoft.com/win/2k19"
+
| { i_type = "windows"; i_major_version = 10; i_minor_version = 0;
i_product_variant = "Server" } ->
Some "http://microsoft.co...
2018 Nov 23
2
[PATCH] v2v: Add support for libosinfo metadata
...Some (sprintf "http://microsoft.com/win/%d.%d" major minor)
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 1 } ->
+ Some "http://microsoft.com/win/xp"
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
+ i_product_name = product } when String.find product "XP" >= 0 ->
+ Some "http://microsoft.com/win/xp"
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
+ i_product_name = product } when String.find product "R2" >= 0 ->
+ Some &qu...
2018 Apr 04
2
[PATCH] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour
...>
+ 2002
+
+ | { i_type = "linux" } ->
+ 5
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 1 } ->
+ 1 (* no architecture differentiation of XP on RHV *)
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
+ i_product_name = product } when String.find product "XP" >= 0 ->
+ 1 (* no architecture differentiation of XP on RHV *)
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
+ i_arch = "i386" } ->
+ 3
+
+ | { i_type = "windows"; i_majo...
2018 Apr 05
2
Re: [PATCH v2 1/2] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour
...uot;linux" } ->
> + 5
> +
> + | { i_type = "windows"; i_major_version = 5; i_minor_version = 1 } ->
> + 1 (* no architecture differentiation of XP on RHV *)
> +
> + | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
> + i_product_name = product } when String.find product "XP" >= 0 ->
> + 1 (* no architecture differentiation of XP on RHV *)
> +
> + | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
> + i_arch = "i386" } ->
> + 3
> +
> + | { i...
2018 Apr 05
6
[PATCH v3 0/3] v2v: improve OVF in OVirt flavour
Hi,
v3 of these patches:
https://www.redhat.com/archives/libguestfs/2018-April/msg00002.html
https://www.redhat.com/archives/libguestfs/2018-April/msg00006.html
Thanks,
Pino Toscano (3):
v2v: OVF: improve get_ostype mappings
v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour
v2v: OVF: fix ovf:id for VirtualSystem in OVirt flavour
v2v/create_ovf.ml | 253
2018 Apr 03
0
[PATCH] v2v: OVF: map CentOS as RHEL
...nspection data. *)
let get_vmtype = function
(* Special cases for RHEL 3 & RHEL 4. *)
- | { i_type = "linux"; i_distro = "rhel"; i_major_version = (3|4);
+ | { i_type = "linux"; i_distro = ("rhel"|"centos"); i_major_version = (3|4);
i_product_name = product }
when String.find product "ES" >= 0 ->
`Server
- | { i_type = "linux"; i_distro = "rhel"; i_major_version = (3|4);
+ | { i_type = "linux"; i_distro = ("rhel"|"centos"); i_major_version = (3|4);
i_...
2019 Dec 10
1
[v2v PATCH] v2v: -o libvirt: write CentOS 8 osinfo ID
...= "linux"; i_distro = "centos"; i_major_version = major }
+ when major >= 8 ->
+ Some (sprintf "http://centos.org/centos/%d" major)
+
| { i_type = "linux"; i_distro = "sles";
i_major_version = major; i_minor_version = 0;
i_product_name = product } when String.find product "Desktop" >= 0 ->
--
2.23.0
2015 Aug 11
0
[PATCH v2 06/17] v2v: factor out actual guest transformation
.../v2v.ml
index 53456ea..c6a567a 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -371,6 +371,34 @@ let check_target_free_space mpstats source targets output =
output#check_target_free_space source targets
+let do_convert g inspect source keep_serial_console =
+ (* Conversion. *)
+ (match inspect.i_product_name with
+ | "unknown" ->
+ message (f_"Converting the guest to run on KVM")
+ | prod ->
+ message (f_"Converting %s to run on KVM") prod
+ );
+
+ let conversion_name, convert =
+ try Modules_list.find_convert_module inspect
+ with Not_found ->
+...
2018 Nov 23
0
Re: [PATCH] v2v: Add support for libosinfo metadata
.../microsoft.com/win/%d.%d" major minor)
> +
> + | { i_type = "windows"; i_major_version = 5; i_minor_version = 1 } ->
> + Some "http://microsoft.com/win/xp"
> +
> + | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
> + i_product_name = product } when String.find product "XP" >= 0 ->
> + Some "http://microsoft.com/win/xp"
> +
> + | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
> + i_product_name = product } when String.find product "R2" >= 0...
2018 Apr 05
4
[PATCH v2 0/2] v2v: improve OVF in OVirt flavour
Hi,
v2 of this patch:
https://www.redhat.com/archives/libguestfs/2018-April/msg00003.html
that includes an additional fix.
Thanks,
Pino Toscano (2):
v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour
v2v: OVF: fix ovf:id for VirtualSystem in OVirt flavour
v2v/create_ovf.ml | 204 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 202 insertions(+), 2
2015 Oct 06
0
[PATCH 5/5] mllib: Replace various ad hoc string_* functions with String.*
...(
function
| "" ->
diff --git a/v2v/OVF.ml b/v2v/OVF.ml
index 56f529a..17008ee 100644
--- a/v2v/OVF.ml
+++ b/v2v/OVF.ml
@@ -50,7 +50,7 @@ let iso_time =
let get_vmtype = function
| { i_type = "linux"; i_distro = "rhel"; i_major_version = major;
i_product_name = product }
- when major >= 5 && string_find product "Server" >= 0 ->
+ when major >= 5 && String.find product "Server" >= 0 ->
Server
| { i_type = "linux"; i_distro = "rhel"; i_major_version = major }
@@...
2018 Nov 23
3
Re: [PATCH] v2v: Add support for libosinfo metadata
...ersion,
>> it's just SLES 10, SLES 10.1 (for SP1), 10.2 (for SP2) and so on.
>
>Oh I see now, it's not duplicated because of the check for
>i_minor_version = 0.
>
>> But I just noticed I forgot to differentiate SLED from SLES. It
>> should be possible based on i_product_name. I think it would make
>> sense for libosinfo and it doesn't look like they are separate in
>> libguestfs (on purpose). Would it also make sense to separate them
>> here? Is it even possible? I'm not sure what the compatibility
>> promises are.
>
>No idea....
2018 Apr 05
1
Re: [PATCH v2 1/2] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour
...t; > + | { i_type = "windows"; i_major_version = 5; i_minor_version = 1 } ->
> > > + 1 (* no architecture differentiation of XP on RHV *)
> > > +
> > > + | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
> > > + i_product_name = product } when String.find product "XP" >= 0 ->
> > > + 1 (* no architecture differentiation of XP on RHV *)
> > > +
> > > + | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
> > > + i_arch = "i386"...
2018 Apr 05
0
[PATCH v2 1/2] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour
...>
+ 2002
+
+ | { i_type = "linux" } ->
+ 5
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 1 } ->
+ 1 (* no architecture differentiation of XP on RHV *)
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
+ i_product_name = product } when String.find product "XP" >= 0 ->
+ 1 (* no architecture differentiation of XP on RHV *)
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
+ i_arch = "i386" } ->
+ 3
+
+ | { i_type = "windows"; i_majo...
2018 Apr 05
0
[PATCH v3 2/3] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour
...>
+ 2002
+
+ | { i_type = "linux" } ->
+ 5
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 1 } ->
+ 1 (* no architecture differentiation of XP on RHV *)
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
+ i_product_name = product } when String.find product "XP" >= 0 ->
+ 1 (* no architecture differentiation of XP on RHV *)
+
+ | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
+ i_arch = "i386" } ->
+ 3
+
+ | { i_type = "windows"; i_majo...
2016 Jun 09
1
[PATCH] v2v: OVF: Set <Origin/> field correctly based on source hypervisor.
...DefaultDisplayType" [] [PCData "1"];
-
- e "Section" ["ovf:id", vm_uuid; "ovf:required", "false";
- "xsi:type", "ovf:OperatingSystemSection_Type"] [
- e "Info" [] [PCData inspect.i_product_name];
- e "Description" [] [PCData ostype];
- ];
-
- e "Section" ["xsi:type", "ovf:VirtualHardwareSection_Type"] [
- e "Info" [] [PCData (sprintf "%d CPU, %Ld Memory" source.s_vcpu memsize_mb)];
- e &q...
2018 Apr 05
0
Re: [PATCH] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour
...uot;linux" } ->
> + 5
> +
> + | { i_type = "windows"; i_major_version = 5; i_minor_version = 1 } ->
> + 1 (* no architecture differentiation of XP on RHV *)
> +
> + | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
> + i_product_name = product } when String.find product "XP" >= 0 ->
> + 1 (* no architecture differentiation of XP on RHV *)
> +
> + | { i_type = "windows"; i_major_version = 5; i_minor_version = 2;
> + i_arch = "i386" } ->
> + 3
> +
> + | { i...