Displaying 20 results from an estimated 44 matches for "net_typ".
Did you mean:
net_type
2016 Feb 09
3
Re: [PATCH 3/4] v2v: take requested caps into account when converting
...tIO" systemroot in
> g#mkdir_p driverdir;
>
> if not (copy_drivers g inspect driverdir) then (
> + let block_type = match rcaps.rcaps_block_bus with
> + | None -> IDE
> + | Some block_type -> block_type in
> + let net_type = match rcaps.rcaps_net_bus with
> + | None -> RTL8139
> + | Some net_type -> net_type in
> + let video = match rcaps.rcaps_video with
> + | None -> Cirrus
> + | Some video -> video in
> +
> +...
2016 Feb 09
0
[PATCH 3/4] v2v: take requested caps into account when converting
...: G.guestfs) inspect source =
warning (f_"The display driver was updated to '%s', but X11 does not seem to be installed in the guest. X may not function correctly.")
video_driver
- and configure_kernel_modules virtio =
+ and configure_kernel_modules block_type net_type =
(* This function modifies modules.conf (and its various aliases). *)
(* Update 'alias eth0 ...'. *)
let paths = augeas_modprobe ". =~ regexp('eth[0-9]+')" in
- let net_device = if virtio then "virtio_net" else "e1000" in
+ let...
2016 Feb 20
0
[PATCH v2 3/4] v2v: take requested caps into account when converting
...: G.guestfs) inspect source =
warning (f_"The display driver was updated to '%s', but X11 does not seem to be installed in the guest. X may not function correctly.")
video_driver
- and configure_kernel_modules virtio =
+ and configure_kernel_modules block_type net_type =
(* This function modifies modules.conf (and its various aliases). *)
(* Update 'alias eth0 ...'. *)
let paths = augeas_modprobe ". =~ regexp('eth[0-9]+')" in
- let net_device = if virtio then "virtio_net" else "e1000" in
+ let...
2016 Feb 09
7
[PATCH 0/4] v2v: more control over device types
The decision on which device type to use for disks, network and video
cards on output used to be taken deep inside the converting functions.
This is not always desirable. In particular, there are scenarios when
this decision is made before the convertion takes place. E.g. in
in-place mode, the decisions are taken and the output VM configuration
is created outside of v2v tool.
This patchset
2016 Feb 15
0
Re: [PATCH 3/4] v2v: take requested caps into account when converting
...g#mkdir_p driverdir;
> >
> > if not (copy_drivers g inspect driverdir) then (
> > + let block_type = match rcaps.rcaps_block_bus with
> > + | None -> IDE
> > + | Some block_type -> block_type in
> > + let net_type = match rcaps.rcaps_net_bus with
> > + | None -> RTL8139
> > + | Some net_type -> net_type in
> > + let video = match rcaps.rcaps_video with
> > + | None -> Cirrus
> > + | Some video -> v...
2016 Feb 20
8
[PATCH v2 0/4] v2v: more control over device types
The decision on which device type to use for disks, network and video
cards on output used to be taken deep inside the converting functions.
This is not always desirable. In particular, there are scenarios when
this decision is made before the convertion takes place. E.g. in
in-place mode, the decisions are taken and the output VM configuration
is created outside of v2v tool.
This patchset
2016 Mar 11
6
[PATCH v3 0/5] v2v: more control over device types
The decision on which device type to use for disks, network and video
cards on output used to be taken deep inside the converting functions.
This is not always desirable. In particular, there are scenarios when
this decision is made before the convertion takes place. E.g. in
in-place mode, the decisions are taken and the output VM configuration
is created outside of v2v tool.
This patchset
2023 Mar 07
1
[COMMON PATCH v2 2/4] inject_virtio_win: add Virtio_SCSI to block_type
...ex 8d72c5d..cf078c0 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject_virtio_win.ml
@@ -51,7 +51,7 @@ type t = {
the user to select where they want to get drivers from. XXX *)
}
-type block_type = Virtio_blk | IDE
+type block_type = Virtio_blk | Virtio_SCSI | IDE
and net_type = Virtio_net | E1000 | RTL8139
and machine_type = I440FX | Q35 | Virt
diff --git a/mlcustomize/inject_virtio_win.mli b/mlcustomize/inject_virtio_win.mli
index 0ced02e..58169e1 100644
--- a/mlcustomize/inject_virtio_win.mli
+++ b/mlcustomize/inject_virtio_win.mli
@@ -20,7 +20,7 @@
type t (**...
2023 Mar 10
1
[COMMON PATCH v3 2/4] inject_virtio_win: add Virtio_SCSI to block_type
...ex ed63fa7..1f4a5c4 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject_virtio_win.ml
@@ -51,7 +51,7 @@ type t = {
the user to select where they want to get drivers from. XXX *)
}
-type block_type = Virtio_blk | IDE
+type block_type = Virtio_blk | Virtio_SCSI | IDE
and net_type = Virtio_net | E1000 | RTL8139
and machine_type = I440FX | Q35 | Virt
diff --git a/mlcustomize/inject_virtio_win.mli b/mlcustomize/inject_virtio_win.mli
index 0ced02e..58169e1 100644
--- a/mlcustomize/inject_virtio_win.mli
+++ b/mlcustomize/inject_virtio_win.mli
@@ -20,7 +20,7 @@
type t (**...
2016 Feb 09
0
[PATCH 2/4] v2v: introduce requested guestcaps type
...git a/v2v/types.ml b/v2v/types.ml
index 2cb67fb..ab27510 100644
--- a/v2v/types.ml
+++ b/v2v/types.ml
@@ -357,10 +357,29 @@ type guestcaps = {
gcaps_arch : string;
gcaps_acpi : bool;
}
+and requested_guestcaps = {
+ rcaps_block_bus : guestcaps_block_type option;
+ rcaps_net_bus : guestcaps_net_type option;
+ rcaps_video : guestcaps_video_type option;
+}
and guestcaps_block_type = Virtio_blk | IDE
and guestcaps_net_type = Virtio_net | E1000 | RTL8139
and guestcaps_video_type = QXL | Cirrus
+let string_of_block_type block_type =
+ (match block_type with
+ | Virtio_blk -> "virt...
2016 Feb 20
0
[PATCH v2 2/4] v2v: introduce requested guestcaps type
...git a/v2v/types.ml b/v2v/types.ml
index a082c37..821b7ec 100644
--- a/v2v/types.ml
+++ b/v2v/types.ml
@@ -361,10 +361,29 @@ type guestcaps = {
gcaps_arch : string;
gcaps_acpi : bool;
}
+and requested_guestcaps = {
+ rcaps_block_bus : guestcaps_block_type option;
+ rcaps_net_bus : guestcaps_net_type option;
+ rcaps_video : guestcaps_video_type option;
+}
and guestcaps_block_type = Virtio_blk | IDE
and guestcaps_net_type = Virtio_net | E1000 | RTL8139
and guestcaps_video_type = QXL | Cirrus
+let string_of_block_type block_type =
+ (match block_type with
+ | Virtio_blk -> "virt...
2016 Mar 18
10
[PATCH v4 0/5] v2v: more control over device types
The decision on which device type to use for disks, network and video
cards on output used to be taken deep inside the converting functions.
This is not always desirable. In particular, there are scenarios when
this decision is made before the convertion takes place. E.g. in
in-place mode, the decisions are taken and the output VM configuration
is created outside of v2v tool.
This patchset
2016 Feb 22
2
Re: [PATCH v2 4/4] v2v: in-place: request caps based on source config
...ce).
>
> For the purposes of this field, we can treat virtio-scsi as
> [SCSI]. However we don't support conversions from virtio in any
> @@ -88,7 +88,7 @@ and source_nic = {
> s_vnet_orig : string; (** Original network (if we map it). *)
> s_vnet_type : vnet_type; (** Source network type. *)
> }
> -(** Network adapter models. *)
> +(** Network adapter models (in ascending order of preference). *)
> and s_nic_model = Source_other_nic of string |
> Source_rtl8139 | Source_e1000 | Source_virtio_net...
2017 Apr 05
7
[PATCH 0/6] v2v: Add drivers for virtio-rng, balloon, pvpanic.
Yaniv pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=1438794
that virt-v2v both doesn't install the virtio-rng driver for Windows,
and doesn't give the guest a virtio-rng PCI device either.
There are two problems here:
Firstly the Windows virtio-rng driver isn't included in the exploded
tree (/usr/share/virtio-win) so it doesn't get copied into the guest.
The solution
2017 Apr 05
9
[PATCH v2 0/8] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1 was posted here:
https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html
v1 -> v2:
- Add support for -o glance.
- Add support for -o qemu.
- Fix the -o libvirt support for balloon as pointed out by Dan.
- Fix a test failure caused by changing libvirt XML output.
Rich.
2023 Mar 07
2
[COMMON PATCH v2 4/4] inject_virtio_win: write the proper block controller PCI ID to Win registry
...egistry t reg driver_name viostor_modern_pciid;
- Virtio_blk in
+ add_guestor_to_registry t reg driver_name legacy_pciid;
+ add_guestor_to_registry t reg driver_name modern_pciid;
+ installed_block_type in
(* Can we install the virtio-net driver? *)
let net : net_type =
--
2.31.1
2017 Apr 06
0
[PATCH v4 3/9] v2v: linux: Replace 'ki_supports_virtio' field.
...rec convert (g : G.guestfs) inspect source output rcaps =
let block_type =
match rcaps.rcaps_block_bus with
- | None -> if virtio then Virtio_blk else IDE
+ | None -> if kernel.ki_supports_virtio_blk then Virtio_blk else IDE
| Some block_type -> block_type in
let net_type =
match rcaps.rcaps_net_bus with
- | None -> if virtio then Virtio_net else E1000
+ | None -> if kernel.ki_supports_virtio_net then Virtio_net else E1000
| Some net_type -> net_type in
configure_display_driver video;
diff --git a/v2v/linux_kernels.ml b/v2v/linux_kerne...
2016 Feb 24
0
Re: [PATCH v2 4/4] v2v: in-place: request caps based on source config
...t; > + | Some Source_SCSI -> None
> > + | Some Source_IDE -> Some IDE
> > + | None -> None in
> > +
> > + (* rely on s_nic_model enum being in ascending preference order, and None
> > + * being smaller than Some anything *)
> > + let best_net_type =
> > + List.fold_left max None
> > + (List.map (fun nic -> nic.s_nic_model) source.s_nics) in
> > + let net_type =
> > + match best_net_type with
> > + | Some Source_virtio_net -> Some Virtio_net
> > + | Some Source_e1000 -> Some E100...
2023 Feb 22
0
[COMMON PATCH 4/5] inject_virtio_win: add Virtio_SCSI to block_type
...ex acb3a93..62f7710 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject_virtio_win.ml
@@ -51,7 +51,7 @@ type t = {
the user to select where they want to get drivers from. XXX *)
}
-type block_type = Virtio_blk | IDE
+type block_type = Virtio_blk | Virtio_SCSI | IDE
and net_type = Virtio_net | E1000 | RTL8139
and machine_type = I440FX | Q35 | Virt
diff --git a/mlcustomize/inject_virtio_win.mli b/mlcustomize/inject_virtio_win.mli
index 0ced02e..58169e1 100644
--- a/mlcustomize/inject_virtio_win.mli
+++ b/mlcustomize/inject_virtio_win.mli
@@ -20,7 +20,7 @@
type t (**...
2023 Mar 07
4
[COMMON PATCH v2 0/4] Bring support for virtio-scsi back to Windows
Discussion on v1
https://listman.redhat.com/archives/libguestfs/2023-February/030849.html
https://listman.redhat.com/archives/libguestfs/2023-March/030917.html
v1 -> v2:
* Drop the logic where default is switched to "vioscsi". Keep
virtio-blk as default.
* Adapt the patch suggested by Richard:
https://listman.redhat.com/archives/libguestfs/2023-March/030974.html
This