-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0
-
None
-
Yes
-
Moderate
-
rhel-sst-virtualization-windows
-
ssg_virtualization
-
None
-
False
-
-
Yes
-
None
-
None
-
None
-
Unspecified Release Note Type - Unknown
-
-
x86_64
-
None
Description of problem:
Network driver can't be installed for win11-efi guest after v2v conversion if set custom VIRTIO_WIN_DIR
Version-Release number of selected component (if applicable):
virt-v2v-2.7.1-4.el10.x86_64
libguestfs-1.54.0-5.el10.x86_64
guestfs-tools-1.52.2-2.el10.x86_64
nbdkit-server-1.40.4-3.el10.x86_64
libnbd-1.20.3-2.el10.x86_64
virtio-win-1.9.44-0.el10.noarch
edk2-ovmf-20241117-2.el10.noarch
kernel-core-6.12.0-44.el10.x86_64
How reproducible:
100%
Steps:
Sceanrio1: Set custom VIRTIO_WIN_DIR=/usr/share/virtio-win
1.1 Set custom VIRTIO_WIN_DIR=/usr/share/virtio-win
# export VIRTIO_WIN_DIR=/usr/share/virtio-win # echo $VIRTIO_WIN_DIR /usr/share/virtio-win
1.2 Convert a win11-efi guest from VMware to local libvirt by virt-v2v
#virt-v2v -ic vpx://non-admin%40vsphere.local@10.73.212.129/data/10.73.212.36/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.3 -io vddk-thumbprint=CB:9F:B1:9D:33:49:6C:60:AD:3C:A5:16:77:91:5F:CD:1B:24:B1:43 -ip /home/passwd esx8.0-win11-x86_64-efi --mac 00:50:56:af:ca:05:ip:192.168.0.10,,,8.8.8.8 --mac 00:50:56:af:ca:05:network:default -on esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-rhel10 -v -x |& tee > esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log
1.3 Check the guest after v2v conversion, found network driver isn't installed in guest, pls refer screenshot 'win11-efi-guest-with-setting-custom_virtio_win_dir-rhel10.png'
grep 'copying guest' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log | grep -i netkvm esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-driver/NetKVM/w11/amd64/Readme.md' -> '/Windows/Drivers/VirtIO/readme.md' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-driver/NetKVM/w11/amd64/netkvm.cat' -> '/Windows/Drivers/VirtIO/netkvm.cat' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-driver/NetKVM/w11/amd64/netkvm.inf' -> '/Windows/Drivers/VirtIO/netkvm.inf' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-driver/NetKVM/w11/amd64/netkvm.pdb' -> '/Windows/Drivers/VirtIO/netkvm.pdb' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-driver/NetKVM/w11/amd64/netkvm.sys' -> '/Windows/Drivers/VirtIO/netkvm.sys' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-driver/NetKVM/w11/amd64/netkvmco.exe' -> '/Windows/Drivers/VirtIO/netkvmco.exe' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-driver/NetKVM/w11/amd64/netkvmco.pdb' -> '/Windows/Drivers/VirtIO/netkvmco.pdb' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-driver/NetKVM/w11/amd64/netkvmp.exe' -> '/Windows/Drivers/VirtIO/netkvmp.exe' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-driver/NetKVM/w11/amd64/netkvmp.pdb' -> '/Windows/Drivers/VirtIO/netkvmp.pdb' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-os/amd64/w11/netkvm.cat' -> '/Windows/Drivers/VirtIO/netkvm.cat' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-os/amd64/w11/netkvm.inf' -> '/Windows/Drivers/VirtIO/netkvm.inf' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-os/amd64/w11/netkvm.sys' -> '/Windows/Drivers/VirtIO/netkvm.sys' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-os/amd64/w11/netkvmco.exe' -> '/Windows/Drivers/VirtIO/netkvmco.exe' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/by-os/amd64/w11/netkvmp.exe' -> '/Windows/Drivers/VirtIO/netkvmp.exe' grep: : No such file or directory esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/amd64/Win11/netkvm.cat' -> '/Windows/Drivers/VirtIO/netkvm.cat' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/amd64/Win11/netkvm.inf' -> '/Windows/Drivers/VirtIO/netkvm.inf' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/amd64/Win11/netkvm.sys' -> '/Windows/Drivers/VirtIO/netkvm.sys' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-on-rhel10.log:windows: copying guest tools bits: 'host:/usr/share/virtio-win//./drivers/amd64/Win11/netkvmp.exe' -> '/Windows/Drivers/VirtIO/netkvmp.exe'
Scenario2: Set custom VIRTIO_WIN_DIR=/opt
2.1 Mount virtio-win iso to /opt and set custom VIRTIO_WIN_DIR=/opt
# mount /home/virtio-win-1.9.44.iso /opt
mount: /opt: WARNING: source write-protected, mounted read-only.
# ls /opt/
amd64 i386 qxl sriov viomem virtio-win-gt-x64.msi
Balloon NetKVM qxldod tools viorng virtio-win-gt-x86.msi
data pvpanic qxl-wddm-dod viofs vioscsi virtio-win-guest-tools.exe
fwcfg qemufwcfg release-drivers-versions.txt viogpudo vioserial virtio-win_license.txt
guest-agent qemupciserial spice-vdagent vioinput viostor winfsp-2.0.23075.msi
# export VIRTIO_WIN_DIR=/opt
# echo $VIRTIO_WIN_DIR
/opt
2.2 Convert a win11-efi guest from VMware to local libvirt by v2v and check the guest after v2v conversion, found network driver isn't installed in guest, pls check screenshot 'win11-efi-guest-with-setting-custom_virtio_win_dir-rhel10.png'
#virt-v2v -ic vpx://non-admin%40vsphere.local@10.73.212.129/data/10.73.212.36/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.3 -io vddk-thumbprint=CB:9F:B1:9D:33:49:6C:60:AD:3C:A5:16:77:91:5F:CD:1B:24:B1:43 -ip /home/passwd esx8.0-win11-x86_64-efi --mac 00:50:56:af:ca:05:ip:192.168.0.10,,,8.8.8.8 --mac 00:50:56:af:ca:05:network:default -on esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-rhel10 -v -x |& tee > esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-on-rhel10.log
2.3 Check v2v debug log
# grep 'copying guest' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-on-rhel10.log | grep -i netkvm esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-on-rhel10.log:windows: copying guest tools bits: 'host:/opt//./NetKVM/w11/amd64/Readme.md' -> '/Windows/Drivers/VirtIO/readme.md' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-on-rhel10.log:windows: copying guest tools bits: 'host:/opt//./NetKVM/w11/amd64/netkvm.cat' -> '/Windows/Drivers/VirtIO/netkvm.cat' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-on-rhel10.log:windows: copying guest tools bits: 'host:/opt//./NetKVM/w11/amd64/netkvm.inf' -> '/Windows/Drivers/VirtIO/netkvm.inf' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-on-rhel10.log:windows: copying guest tools bits: 'host:/opt//./NetKVM/w11/amd64/netkvm.pdb' -> '/Windows/Drivers/VirtIO/netkvm.pdb' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-on-rhel10.log:windows: copying guest tools bits: 'host:/opt//./NetKVM/w11/amd64/netkvm.sys' -> '/Windows/Drivers/VirtIO/netkvm.sys' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-on-rhel10.log:windows: copying guest tools bits: 'host:/opt//./NetKVM/w11/amd64/netkvmco.exe' -> '/Windows/Drivers/VirtIO/netkvmco.exe' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-on-rhel10.log:windows: copying guest tools bits: 'host:/opt//./NetKVM/w11/amd64/netkvmco.pdb' -> '/Windows/Drivers/VirtIO/netkvmco.pdb' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-on-rhel10.log:windows: copying guest tools bits: 'host:/opt//./NetKVM/w11/amd64/netkvmp.exe' -> '/Windows/Drivers/VirtIO/netkvmp.exe' esx8.0-win11-efi-with-setting-VIRTIO_WIN_DIR-opt-on-rhel10.log:windows: copying guest tools bits: 'host:/opt//./NetKVM/w11/amd64/netkvmp.pdb' -> '/Windows/Drivers/VirtIO/netkvmp.pdb' grep: : No such file or directory
Additional info:
1. Can't reproduce the bug on win11-non-uefi guest
- clones
-
RHEL-69035 Network driver can't be installed for old win11-efi guest (OS build 22000) after v2v conversion if set custom VIRTIO_WIN_DIR [rhel-9.6]
-
- New
-
- split to
-
RHEL-80624 [QE Task]Network driver can't be installed for win11-efi guest after v2v conversion if set custom VIRTIO_WIN_DIR [rhel-10]
-
- Closed
-