Skip to content

Commit 13fe21f

Browse files
Fix virtio-win install steps for EL hosts
1 parent 8331917 commit 13fe21f

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,36 +54,37 @@ Ubuntu 22.04 LTS, 24.04 LTS
5454

5555

5656
Importing Windows VMs from VMware requires installing the virtio drivers for Windows on the hypervisor hosts for the virt-v2v conversion.
57+
The Fedora-provided ``virtio-win`` RPM installs the drivers under ``/usr/share/virtio-win``, which is one of virt-v2v's
58+
default search paths.
5759

58-
On (RH)EL hosts:
60+
On EL-based hosts, including RHEL, Oracle Linux, Rocky Linux and Alma Linux, install the Fedora-provided RPM directly.
61+
The ``virtio-win`` package may not be available from the enabled distribution repositories on EL8 or EL9 hosts.
5962

6063
::
6164

62-
yum install virtio-win
65+
dnf install -y https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
6366

64-
You can also install the RPM manually from https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
67+
rpm -qa | grep -i virtio-win
68+
ls -l /usr/share/virtio-win
6569

6670

6771
For Debian-based distributions:
6872

69-
Ubuntu don’t seem to ship the virtio-win package with drivers, which causes virt-v2v not to convert the VMWare Windows guests to virtio profiles. This could result in slow IDE drives and Intel E1000 NICs. As a workaround, we can follow the below steps to install the package from the RPM on all KVM hosts running the virt-v2v:
73+
Ubuntu does not always ship a ``virtio-win`` package with the Windows drivers, which causes virt-v2v not to convert
74+
the VMware Windows guests to virtio profiles. This can result in slow IDE drives and Intel E1000 NICs. As a workaround,
75+
download the Fedora RPM and convert it to a DEB on all KVM hosts running virt-v2v:
7076

7177
::
7278

73-
apt install virtio-win (if the package is not available, then manual steps will be required to install the virtio drivers for windows)
74-
75-
wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
76-
77-
# install “alien” which can convert rpms to debs
7879
apt -y install alien
80+
wget -O virtio-win.noarch.rpm https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
7981

80-
# the conversion, can take a while
8182
alien -d virtio-win.noarch.rpm
82-
83-
# install the resulting deb
8483
dpkg -i virtio-win*.deb
84+
ls -l /usr/share/virtio-win
8585

86-
In addition to this, we need to install the below package as well to avoid the error “virt-v2v: error: One of rhsrvany.exe or pvvxsvc.exe is missing in /usr/share/virt-tools“.
86+
In addition to this, install the package below to avoid the error
87+
``virt-v2v: error: One of rhsrvany.exe or pvvxsvc.exe is missing in /usr/share/virt-tools``.
8788

8889
::
8990

0 commit comments

Comments
 (0)