Displaying 14 results from an estimated 14 matches for "block_modul".
Did you mean:
block_module
2023 Mar 10
1
[V2V PATCH v3 1/6] Revert "Remove guestcaps_block_type Virtio_SCSI"
...8 +1068,12 @@ let convert (g : G.guestfs) source inspect i_firmware keep_serial_console _ =
(* Update 'alias scsi_hostadapter ...' *)
let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
(match block_type with
- | Virtio_blk ->
- let block_module = "virtio_blk" in
+ | Virtio_blk | Virtio_SCSI ->
+ let block_module =
+ match block_type with
+ | Virtio_blk -> "virtio_blk"
+ | Virtio_SCSI -> "virtio_scsi"
+ | IDE -> assert false in
if paths <> [] then...
2023 Mar 07
1
[V2V PATCH v2 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
...8 +1068,12 @@ let convert (g : G.guestfs) source inspect i_firmware keep_serial_console _ =
(* Update 'alias scsi_hostadapter ...' *)
let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
(match block_type with
- | Virtio_blk ->
- let block_module = "virtio_blk" in
+ | Virtio_blk | Virtio_SCSI ->
+ let block_module =
+ match block_type with
+ | Virtio_blk -> "virtio_blk"
+ | Virtio_SCSI -> "virtio_scsi"
+ | IDE -> assert false in
if paths <> [] then...
2023 Mar 13
1
[V2V PATCH v2 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
...(g : G.guestfs) source inspect i_firmware keep_serial_console _ =
> (* Update 'alias scsi_hostadapter ...' *)
> let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
> (match block_type with
> - | Virtio_blk ->
> - let block_module = "virtio_blk" in
> + | Virtio_blk | Virtio_SCSI ->
> + let block_module =
> + match block_type with
> + | Virtio_blk -> "virtio_blk"
> + | Virtio_SCSI -> "virtio_scsi"
> + | IDE -> assert false in
>...
2023 Mar 13
1
[V2V PATCH v2 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
...rce inspect i_firmware keep_serial_console _ =
>> (* Update 'alias scsi_hostadapter ...' *)
>> let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
>> (match block_type with
>> - | Virtio_blk ->
>> - let block_module = "virtio_blk" in
>> + | Virtio_blk | Virtio_SCSI ->
>> + let block_module =
>> + match block_type with
>> + | Virtio_blk -> "virtio_blk"
>> + | Virtio_SCSI -> "virtio_scsi"
>> + | IDE -&...
2023 Mar 13
1
[V2V PATCH v2 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
...re keep_serial_console _ =
>>> (* Update 'alias scsi_hostadapter ...' *)
>>> let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
>>> (match block_type with
>>> - | Virtio_blk ->
>>> - let block_module = "virtio_blk" in
>>> + | Virtio_blk | Virtio_SCSI ->
>>> + let block_module =
>>> + match block_type with
>>> + | Virtio_blk -> "virtio_blk"
>>> + | Virtio_SCSI -> "virtio_scsi"
>&g...
2023 Feb 22
0
[V2V PATCH 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
...8 +1068,12 @@ let convert (g : G.guestfs) source inspect i_firmware keep_serial_console _ =
(* Update 'alias scsi_hostadapter ...' *)
let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
(match block_type with
- | Virtio_blk ->
- let block_module = "virtio_blk" in
+ | Virtio_blk | Virtio_SCSI ->
+ let block_module =
+ match block_type with
+ | Virtio_blk -> "virtio_blk"
+ | Virtio_SCSI -> "virtio_scsi"
+ | IDE -> assert false in
if paths <> [] then...
2016 Apr 14
1
[PATCH v3] v2v: add support for virtio-scsi
..._serial_console (g : G.guestfs) inspect source rcaps =
(* Update 'alias scsi_hostadapter ...' *)
let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
match block_type with
- | Virtio_blk ->
+ | Virtio_blk | Virtio_SCSI ->
+ let block_module =
+ match block_type with
+ | Virtio_blk -> "virtio_blk"
+ | Virtio_SCSI -> "virtio_scsi"
+ | _ -> raise Not_found in
+
if paths <> [] then (
(* There's only 1 scsi controller in the converted guest.
* Con...
2016 Apr 14
0
[PATCH v2] v2v: add support for virtio-scsi
..._serial_console (g : G.guestfs) inspect source rcaps =
(* Update 'alias scsi_hostadapter ...' *)
let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
match block_type with
- | Virtio_blk ->
+ | Virtio_blk | Virtio_SCSI ->
+ let block_module =
+ match block_type with
+ | Virtio_blk -> "virtio_blk"
+ | Virtio_SCSI -> "virtio_scsi"
+ | _ -> raise Not_found in
+
if paths <> [] then (
(* There's only 1 scsi controller in the converted guest.
* Con...
2016 Apr 14
1
[PATCH v4] v2v: add support for virtio-scsi
..._serial_console (g : G.guestfs) inspect source rcaps =
(* Update 'alias scsi_hostadapter ...' *)
let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
match block_type with
- | Virtio_blk ->
+ | Virtio_blk | Virtio_SCSI ->
+ let block_module =
+ match block_type with
+ | Virtio_blk -> "virtio_blk"
+ | Virtio_SCSI -> "virtio_scsi"
+ | _ -> assert false in
+
if paths <> [] then (
(* There's only 1 scsi controller in the converted guest.
* Conver...
2016 Jul 01
4
[PATCH 0/2] v2v: fix setting custom modprobe options
Hi,
due to a broken discover_modpath function, and to a wrong block for a
match statement, the modprobe options for virtio/SCSI blocks where not
written at all.
This series provides a small refactor, and the fixes.
Thanks,
--
Pino Toscano (2):
v2v: fix and implify the internal Convert_linux:discover_modpath
v2v: fix priority of match in configure_kernel_modules
v2v/convert_linux.ml | 34
2016 Jul 01
0
[PATCH 2/2] v2v: fix priority of match in configure_kernel_modules
...l_console (g : G.guestfs) inspect source rcaps =
(* Update 'alias scsi_hostadapter ...' *)
let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
- match block_type with
+ (match block_type with
| Virtio_blk | Virtio_SCSI ->
let block_module =
match block_type with
@@ -1180,7 +1180,7 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
| IDE ->
(* There is no scsi controller in an IDE guest. *)
List.iter (fun path -> ignore (g#aug_rm path)) (List.rev paths)
- ;
+ );...
2023 Feb 22
6
[V2V PATCH 0/5] Bring support for virtio-scsi back to Windows
Since commits b28cd1dc ("Remove requested_guestcaps / rcaps"), f0afc439
("Remove guestcaps_block_type Virtio_SCSI") support for installing
virtio-scsi driver is missing in virt-v2v. AFAIU plans and demands for
bringing this feature back have been out there for a while. E.g. I've
found a corresponding issue which is still open [1].
The code in b28cd1dc, f0afc439 was
2023 Mar 07
6
[V2V PATCH v2 0/5] 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:
* Adapt the patch suggested by Richard, splitting it up into 3:
https://listman.redhat.com/archives/libguestfs/2023-March/030975.html
Now we have "--block-driver" command line option which regulates the
2023 Mar 10
7
[V2V PATCH v3 0/6] Bring support for virtio-scsi back to Windows
Discussion on v2:
https://listman.redhat.com/archives/libguestfs/2023-March/030987.html
v2 -> v3:
* Patch 2/6 ("convert_windows: add Inject_virtio_win.Virtio_SCSI as a
possible block type"): omit "Inject_virtio_win." prefix in favor of type
inference. Add a short commit message body;
* Add tests/test-v2v-block-driver.sh testing the new "--block-driver"