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.
This commit is contained in:
Richard W.M. Jones
2014-08-26 22:49:05 +01:00
parent f527c22b00
commit 715020e264
2 changed files with 0 additions and 2 deletions

View File

@@ -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

View File

@@ -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. *)