search for: getenv_opt

Displaying 3 results from an estimated 3 matches for "getenv_opt".

2023 Mar 02
1
[V2V PATCH 0/5] Bring support for virtio-scsi back to Windows
...11 @@ let rec inject_virtio_win_drivers ({ g } as t) reg = > > (* Can we install the block driver? *) > > let block : block_type = > > let filenames = ["virtio_blk"; "vrtioblk"; "viostor"] in > > + let viostor_drv_env = Sys.getenv_opt "VIOSTOR_DRIVER" in > > + let filenames = > > + match viostor_drv_env with > > + | None -> filenames > > + | Some str -> str :: filenames in > > let viostor_driver = try ( > > Some ( > > L...
2023 Mar 02
1
[V2V PATCH 0/5] Bring support for virtio-scsi back to Windows
...> @@ -177,6 +177,11 @@ let rec inject_virtio_win_drivers ({ g } as t) reg = > (* Can we install the block driver? *) > let block : block_type = > let filenames = ["virtio_blk"; "vrtioblk"; "viostor"] in > + let viostor_drv_env = Sys.getenv_opt "VIOSTOR_DRIVER" in > + let filenames = > + match viostor_drv_env with > + | None -> filenames > + | Some str -> str :: filenames in > let viostor_driver = try ( > Some ( > List.find ( As you can see here the...
2023 Mar 02
1
[V2V PATCH 0/5] Bring support for virtio-scsi back to Windows
On Thu, Mar 02, 2023 at 08:15:37PM +0200, Andrey Drobyshev wrote: > On 2/28/23 16:39, Richard W.M. Jones wrote: > > On Tue, Feb 28, 2023 at 03:24:46PM +0100, Laszlo Ersek wrote: > >> On 2/28/23 14:01, Richard W.M. Jones wrote: > >>> On Wed, Feb 22, 2023 at 08:20:43PM +0200, Andrey Drobyshev wrote: > >>>> Since commits b28cd1dc ("Remove