On 13/06/14 12:51, Richard W.M. Jones wrote:
[Matt (CC'd) can probably answer this one better than anyone ...]
I haven't implemented this for W2k12. Sounds like a job for Google and a
couple of weeks of experimentation :( Be prepared to find many blog
posts which are wrong.
Matt
On Fri, Jun 13, 2014 at 11:34:08AM +0300, Nikos Skalkotos wrote:
> Hello all,
>
> I'm trying to automate the installation of the VirtIO drivers on a
> Windows image in the same way it is done in [1] and [2].
>
> Registering the viostor service and adding the driver under the
> HKEY_LOCALE_MACHINE\SYSTEM\CurrentControlSet\CriticalDeviceDatabase
> registry key, makes an Windows 2008R2 image boot if the hd is under the
> virtio interface, but I cannot make this work for Windows 2012R2. As far
> as I've seen, the CDDB registry keys are deprecated in newer Windows and
> creating them back does not seem to make this work.
>
> Has anybody had any luck with this? Is there any other way to do it for
> newer Windows?
>
> If this does not work out, I'll probably try to add the driver
> installations process in a RunOnce registry entry, boot the image using
> the ide interface and reboot it using VirtIO after the drivers have been
> installed, but I wanted to know if there is an easier way to do this.
>
> Thank you in advanced,
> Nikos
>
> [1]
https://github.com/libguestfs/hivex/blob/master/sh/example6
> [2]
>
https://git.fedorahosted.org/cgit/virt-v2v.git/tree/lib/Sys/VirtConvert/C...
Rich.
--
Matthew Booth
Red Hat Engineering, Virtualisation Team
Phone: +442070094448 (UK)
GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490