[Libguestfs] [PATCH 0/4] v2v: simplify Windows registry patching

Cedric Bosdonnat cbosdonnat at suse.com
Thu Apr 7 16:08:36 UTC 2016


Hi Roman,

I rebased my patches on top of yours and I'm getting troubles loading
the VMDP virtio block driver. I'll need to investigate more to uncover
what is missing to get it working.

--
Cedric

On Wed, 2016-04-06 at 20:24 +0300, Roman Kagan wrote:
> 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 makes a dramatic reduction to the amount of edits we
> apply.
> Besides it refactors the code somewhat, to make it generic enough to
> allow later on to accomodate other SCSI drivers (specifically,
> vioscsi).
> 
> Tested on
> 
> Win XP SP3 x32
> Win XP SP2 x64
> Win 2003R2 SP2 x32
> Win 2003R2 SP2 x63
> Win Vista SP2 x32
> Win Vista SP2 x64
> Win 2008 SP2 x32
> Win 2008R2 SP1 x64
> Win 7 SP1 x32
> Win 7 SP1 x64
> Win 8 x32
> Win 8 x64
> Win 8.1 x32
> Win 8.1 x64
> Win 2012R2 x64
> Win 10 x64
> 
> 
> Roman Kagan (4):
>   v2v: win <= 7: reduce registry patch
>   v2v: win >= 8: reduce registry patch
>   v2v: win >= 8: simplify registry patching
>   v2v: win: factor out common bits in registry patching
> 
>  v2v/windows_virtio.ml | 306 +++++++++-------------------------------
> ----------
>  1 file changed, 52 insertions(+), 254 deletions(-)
> 




More information about the Libguestfs mailing list