On Tue, Apr 05, 2016 at 01:47:32PM +0200, Cédric Bosdonnat wrote: > Setting the ConfigFlags to 0x40 for those will make windows quiet > at the first boot about those new devices. The wizard must not be > presented to the user since the needed drivers will automatically > be installed at firstboot... or worse, the wizard can even block > the installer. > --- > v2v/windows_virtio.ml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml > index dfb7b71..22e3e31 100644 > --- a/v2v/windows_virtio.ml > +++ b/v2v/windows_virtio.ml > @@ -196,6 +196,14 @@ and add_viostor_to_critical_device_database g root > current_cs major = > [ "0", REG_SZ (sprintf > "PCI\\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00\\%s&20" subkey); > "Count", REG_DWORD 0x1_l; > "NextInstance", REG_DWORD 0x1_l ]; > + > + [ current_cs; "Enum"; "PCI"; > "VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00"; subkey ^ "&18" ], > + [ "ConfigFlags", REG_DWORD 0x40_l ]; > + [ current_cs; "Enum"; "PCI"; > "VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00"; subkey ^ "&20" ], > + [ "ConfigFlags", REG_DWORD 0x0_l; > + "Service", REG_SZ driver_name ]; > + [ current_cs; "Enum"; "PCI"; > "VEN_1AF4&DEV_1002&SUBSYS_00051AF4&REV_00"; subkey ^ "&28" ], > + [ "ConfigFlags", REG_DWORD 0x40_l ]; > ] in
Seems reasonable. We can probably pull this patch earlier so we can apply it now - however it needs driver_name changed back to "viostor". Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs