search for: add_viostor_to_driver_database

Displaying 14 results from an estimated 14 matches for "add_viostor_to_driver_database".

2016 Apr 05
0
[PATCH 1/7] v2v: check next free oem%d.inf in /Windows/Inf
...or_to_registry g inspect root current_cs = +and add_viostor_to_registry g inspect root current_cs driverdir = let { i_major_version = major; i_minor_version = minor; i_arch = arch } = inspect in if (major == 6 && minor >= 2) || major >= 7 then (* Windows >= 8 *) - add_viostor_to_driver_database g root arch current_cs + add_viostor_to_driver_database g root arch current_cs driverdir else (* Windows <= 7 *) add_viostor_to_critical_device_database g root current_cs @@ -195,7 +195,7 @@ and add_viostor_to_critical_device_database g root current_cs =...
2016 Apr 05
0
[PATCH 7/7] v2v: add support for SUSE VMDP drivers
...ct root current_cs driverdir = +and add_viostor_to_registry g inspect root current_cs driverdir driver_name = let { i_major_version = major; i_minor_version = minor; i_arch = arch } = inspect in if (major == 6 && minor >= 2) || major >= 7 then (* Windows >= 8 *) - add_viostor_to_driver_database g root arch current_cs driverdir + add_viostor_to_driver_database g root arch current_cs driverdir driver_name else (* Windows <= 7 *) - add_viostor_to_critical_device_database g root current_cs major + add_viostor_to_critical_device_database g root current_c...
2016 Apr 05
22
[PATCH 0/7] Add support for SUSE virtio windows drivers
Hi there, SUSE ships Virtual Machine Driver Pack for the virtio windows drivers. Get v2v and customize to discover them and use them if available. Cédric Bosdonnat (7): v2v: check next free oem%d.inf in /Windows/Inf v2v: extract controller offset discovery as a function customize: add support for pvvxsvc v2v: extract reusable parts of viostor regedits v2v: adapt the subkey in Enum
2016 Apr 06
8
[PATCH 0/4] v2v: simplify Windows registry patching
The way we patch the Windows registry in order to allow it to boot off a virtio-blk drive was initially conceived by comparing the state with virtio-blk driver properly installed, to that without. However, we don't want to replicate the Windows PnP system; rather we need to apply just enough edits to make the system boot, and then let the Windows PnP manager figure out the rest. This series
2016 Apr 05
2
Re: [PATCH 1/7] v2v: check next free oem%d.inf in /Windows/Inf
...let oem_inf = set_free_oem_inf g root scsi_adapter_guid "viostor.inf" driverdir in Seems better if it was called *get_next*_free_oem_inf? > > (* There should be a key > * HKLM\SYSTEM\ControlSet001\Control\Class\<scsi_adapter_guid> > @@ -398,6 +378,28 @@ and add_viostor_to_driver_database g root arch current_cs = > @=hex(ffff0012):6f,00,65,00,6d,00,31,00,2e,00,69,00,6e,00,66,00,00,00 > *) > > +(* There should be a key > + * HKLM\SYSTEM\DriverDatabase\DeviceIds\<guid> > + * We want to add: > + * "oem1.inf"=hex(0): > + * but if we...
2016 Feb 09
2
Re: Help with Win10
On Tue, Feb 09, 2016 at 12:20:35AM -0800, Joshua Pincus wrote: > Hi Rich, > > Thanks for the pointer. It looks like add_viostor_to_driver_database() is > the routine that I need to mimic. I'll try that out in the morning. I've > been staring at this problem for so long that my eyes are crossing. I should note that any doubled \\ that appear in the strings are really single \, they are just escaped OCaml strings. It might hel...
2016 Feb 09
2
Re: Help with Win10
On Mon, Feb 08, 2016 at 04:50:09PM -0800, Joshua Pincus wrote: > Mr Jones, > > I recently came across your excellent 2010 blog entry, > https://rwmj.wordpress.com/2010/04/30/tip-install-a-device-driver-in-a-windows-vm/. > The blog entry was incredibly useful for Win7. I was wondering if you have > any similar insights for Win10? The CDDB is gone, and it's replacement, or
2016 Feb 09
0
Re: Help with Win10
Hi Rich, Thanks for the pointer. It looks like add_viostor_to_driver_database() is the routine that I need to mimic. I'll try that out in the morning. I've been staring at this problem for so long that my eyes are crossing. Thank you very much for the quick reply! JP On Tue, Feb 9, 2016 at 12:11 AM, Richard W.M. Jones <rjones@redhat.com> wrote: > On Mon...
2016 Feb 09
0
Re: Help with Win10
...details.php?id=406, which I don't believe was your intent. JP On Tue, Feb 9, 2016 at 12:35 AM, Richard W.M. Jones <rjones@redhat.com> wrote: > On Tue, Feb 09, 2016 at 12:20:35AM -0800, Joshua Pincus wrote: > > Hi Rich, > > > > Thanks for the pointer. It looks like add_viostor_to_driver_database() > is > > the routine that I need to mimic. I'll try that out in the morning. > I've > > been staring at this problem for so long that my eyes are crossing. > > I should note that any doubled \\ that appear in the strings are > really single \, they are just esc...
2016 Apr 05
0
[PATCH 2/7] v2v: extract controller offset discovery as a function
...sharing it later. --- v2v/windows_virtio.ml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml index b0d9d08..14ffc51 100644 --- a/v2v/windows_virtio.ml +++ b/v2v/windows_virtio.ml @@ -226,18 +226,7 @@ and add_viostor_to_driver_database g root arch current_cs driverdir = *) let controller_path = [ current_cs; "Control"; "Class"; scsi_adapter_guid ] in - let controller_offset = - match Windows.get_node g root controller_path with - | None -> - error (f_"cannot find HKLM\\SYSTEM\\...
2016 Apr 05
0
[PATCH 5/7] v2v: adapt the subkey in Enum registry to windows version
...irtio.ml b/v2v/windows_virtio.ml index 8a0b529..dfb7b71 100644 --- a/v2v/windows_virtio.ml +++ b/v2v/windows_virtio.ml @@ -139,15 +139,18 @@ and add_viostor_to_registry g inspect root current_cs driverdir = if (major == 6 && minor >= 2) || major >= 7 then (* Windows >= 8 *) add_viostor_to_driver_database g root arch current_cs driverdir else (* Windows <= 7 *) - add_viostor_to_critical_device_database g root current_cs + add_viostor_to_critical_device_database g root current_cs major -and add_viostor_to_critical_device_database g root current_cs = +and add_vio...
2016 Apr 05
0
[PATCH 4/7] v2v: extract reusable parts of viostor regedits
...ices"; driver_name; "Enum" ], [ "0", REG_SZ "PCI\\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00\\3&13c0b0c5&0&20"; "Count", REG_DWORD 0x1_l; "NextInstance", REG_DWORD 0x1_l ]; @@ -199,8 +201,10 @@ and add_viostor_to_driver_database g root arch current_cs driverdir = (* Windows >= 8 doesn't use the CriticalDeviceDatabase. Instead * one must add keys into the DriverDatabase. *) + let driver = "viostor.sys" in + let driver_name = Filename.chop_extension driver in - let viostor_inf = + let inf_f...
2016 Apr 05
0
Re: [PATCH 1/7] v2v: check next free oem%d.inf in /Windows/Inf
...er_guid > > "viostor.inf" driverdir in > > Seems better if it was called *get_next*_free_oem_inf? Yes, sounds better. > > (* There should be a key > > * HKLM\SYSTEM\ControlSet001\Control\Class\<scsi_adapter_guid> > > @@ -398,6 +378,28 @@ and add_viostor_to_driver_database g root arch > > current_cs = > > > > @=hex(ffff0012):6f,00,65,00,6d,00,31,00,2e,00,69,00,6e,00,66,00,00 > > ,00 > > *) > > > > +(* There should be a key > > + * HKLM\SYSTEM\DriverDatabase\DeviceIds\<guid> > > + * We want to a...
2016 Feb 09
2
[PATCH] v2v: move virtio_win to windows_virtio
...for this version of Windows (%d.%d %s %s). virt-v2v looks for drivers in %s\n\nThe guest will be configured to use slower emulated devices.") inspect.i_major_version inspect.i_minor_version inspect.i_arch inspect.i_product_variant virtio_win; @@ -349,7 +356,7 @@ and add_viostor_to_driver_database g root arch current_cs = (* Copy the matching drivers to the driverdir; return true if any have * been copied. *) -and copy_drivers g inspect virtio_win driverdir = +and copy_drivers g inspect driverdir = let ret = ref false in if is_directory virtio_win then ( let cmd = sprintf &qu...