[Pkg-libvirt-commits] [libguestfs] 189/266: v2v: Remove bogus %systemroot%\Drivers path.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:42:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit 715020e264a87e167595557670c46bab0b4db5a8
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Aug 26 22:49:05 2014 +0100

    v2v: Remove bogus %systemroot%\Drivers path.
    
    This was based an incorrect translation of what the old virt-v2v was
    doing.  %systemroot%\Drivers is not expected to exist already, and
    indeed does not exist in a real Windows 7 guest.
---
 tests/guests/guest-aux/make-windows-img.sh | 1 -
 v2v/convert_windows.ml                     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/tests/guests/guest-aux/make-windows-img.sh b/tests/guests/guest-aux/make-windows-img.sh
index c119a28..860ec06 100755
--- a/tests/guests/guest-aux/make-windows-img.sh
+++ b/tests/guests/guest-aux/make-windows-img.sh
@@ -56,7 +56,6 @@ mkfs ntfs /dev/sda2
 
 # Enough to fool inspection API.
 mount /dev/sda2 /
-mkdir-p /Windows/Drivers
 mkdir-p /Windows/System32/Config
 
 upload $SRCDIR/guest-aux/windows-software /Windows/System32/Config/SOFTWARE
diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml
index 546c164..563070a 100644
--- a/v2v/convert_windows.ml
+++ b/v2v/convert_windows.ml
@@ -215,7 +215,6 @@ echo uninstalling Xen PV driver
   and install_virtio_drivers root current_cs =
     (* Copy the virtio drivers to the guest. *)
     let driverdir = sprintf "%s/Drivers/VirtIO" systemroot in
-    let driverdir = g#case_sensitive_path driverdir in
     g#mkdir_p driverdir;
 
     (* See if the drivers for this guest are available in virtio_win_dir. *)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list