Denis Plotnikov
2020-May-21 13:54 UTC
[Libguestfs] [PATCH] v2v: convert-windows: remove installation reference for prl_strg driver
There is an issue with removal of parallels disk paravirt driver. Without the patch, the VM being migrated may not boot on the desination with BSOD: 0x7b. The patch is a workaround to prevent the BSOD. Signed-off-by: Denis Plotnikov <dplotnikov@virtuozzo.com> --- v2v/convert_windows.ml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml index 4511c53c3..706202499 100644 --- a/v2v/convert_windows.ml +++ b/v2v/convert_windows.ml @@ -469,6 +469,8 @@ echo uninstalling Xen PV driver let fb_script = "\ @echo off +REG DELETE HKLM\\System\\CurrentControlSet\\Services\\prl_strg\\DriverInfo /v RefCount /f + echo uninstalling Parallels guest tools " ^ uninst ^ (* ERROR_SUCCESS_REBOOT_REQUIRED == 3010 is OK too *) -- 2.17.0
Richard W.M. Jones
2020-May-21 14:29 UTC
Re: [Libguestfs] [PATCH] v2v: convert-windows: remove installation reference for prl_strg driver
On Thu, May 21, 2020 at 04:54:21PM +0300, Denis Plotnikov wrote:> There is an issue with removal of parallels disk paravirt driver. > Without the patch, the VM being migrated may not boot on the > desination with BSOD: 0x7b. > > The patch is a workaround to prevent the BSOD. > > Signed-off-by: Denis Plotnikov <dplotnikov@virtuozzo.com> > --- > v2v/convert_windows.ml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml > index 4511c53c3..706202499 100644 > --- a/v2v/convert_windows.ml > +++ b/v2v/convert_windows.ml > @@ -469,6 +469,8 @@ echo uninstalling Xen PV driver > let fb_script = "\ > @echo off > > +REG DELETE HKLM\\System\\CurrentControlSet\\Services\\prl_strg\\DriverInfo /v RefCount /f > + > echo uninstalling Parallels guest tools > " ^ uninst ^ > (* ERROR_SUCCESS_REBOOT_REQUIRED == 3010 is OK too *)ACK, I'll push this in a minute. I looked at your other package yesterday but it was more than I could process in the few minutes I had available :-( I'll take a longer look at it soon. It does appear to be generally OK. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/
Richard W.M. Jones
2020-Jun-05 10:58 UTC
Re: [Libguestfs] [PATCH] v2v: convert-windows: remove installation reference for prl_strg driver
On Fri, Jun 05, 2020 at 01:14:57PM +0300, Denis Plotnikov wrote:> Did you have some time to review my other patch about uefi-linux > migration improvement?Yeah I need to do this one and the Python 3 patch still ... I'll try to get round to both today. 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
Seemingly Similar Threads
- [PATCH] v2v:windows: prevent Parallels drivers from loading at boot
- [PATCH] convert_windows: uninstall Parallels Tools on first boot
- [PATCH 0/2] v2v: uninstall the VMware Tools from Windows guests
- [PATCH 2/2] v2v: windows: uninstall VMware Tools
- Re: [PATCH] v2v: convert-windows: remove installation reference for prl_strg driver