Description of problem:
window version shows incorrect during converting win11 guest with build number 22631 by virt-v2v
Version-Release number of selected component (if applicable):
virt-v2v-2.5.6-4.el9.x86_64
libguestfs-1.50.2-1.el9.x86_64
guestfs-tools-1.51.6-5.el9.x86_64
osinfo-db-20240701-2.el9.noarch
nbdkit-1.38.3-1.el9.x86_64
libnbd-1.20.2-2.el9.x86_64
virtio-win-1.9.41-1.el9.noarch
libguestfs-winsupport-9.3-1.el9_3.x86_64
libvirt-libs-10.5.0-5.el9.x86_64
qemu-img-9.0.0-9.el9.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Prepare a latest win11 guest which has build number 22631 on VMware env and then convert the guest from VMware by virt-v2v
# virt-v2v -ic vpx://non-admin%40vsphere.local@10.73.212.129/Folder/Datacenter1/Cluster1/10.73.225.34/?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 -on esx8.0-win11-x86_64-efi-build-num-22631 [ 0.0] Setting up the source: -i libvirt -ic vpx://non-admin%40vsphere.local@10.73.212.129/Folder/Datacenter1/Cluster1/10.73.225.34/?no_verify=1 -it vddk esx8.0-win11-x86_64-efi [ 1.8] Opening the source [ 8.0] Inspecting the source [ 14.6] Checking for sufficient free disk space in the guest [ 14.6] Converting Windows 10 Enterprise to run on KVM virt-v2v: This guest has virtio drivers installed. [ 28.2] Mapping filesystem data to avoid copying unused and blank areas [ 30.4] Closing the overlay [ 30.7] Assigning disks to buses [ 30.7] Checking if the guest needs BIOS or UEFI to boot virt-v2v: This guest requires UEFI on the target to boot. [ 30.7] Setting up the destination: -o libvirt [ 32.3] Copying disk 1/1 █ 100% [****************************************] [ 352.9] Creating output metadata [ 353.2] Finishing off
2. Use virt-inspector to detect windows guest info
# virt-inspector -a /var/lib/libvirt/images/esx8.0-win11-x86_64-efi-build-num-22631-sda --no-applications <?xml version="1.0"?> <operatingsystems> <operatingsystem> <root>/dev/sda3</root> <name>windows</name> <arch>x86_64</arch> <distro>windows</distro> <product_name>Windows 10 Enterprise</product_name> <product_variant>Client</product_variant> <major_version>10</major_version> <minor_version>0</minor_version> <windows_systemroot>/Windows</windows_systemroot> <windows_current_control_set>ControlSet001</windows_current_control_set> <hostname>DESKTOP-42U70I9</hostname> <build_id>22631</build_id> <osinfo>win11</osinfo> <mountpoints> <mountpoint dev="/dev/sda3">/</mountpoint> </mountpoints> <filesystems> <filesystem dev="/dev/sda3"> <type>ntfs</type> <uuid>2E2E14262E13E59D</uuid> </filesystem> </filesystems> <drive_mappings> <drive_mapping name="C">/dev/sda3</drive_mapping> </drive_mappings> </operatingsystem> </operatingsystems>
Actual results:
As above description
Expected result:
window version should be 11 during converting win11 guest with build number 22631 by virt-v2v
Additional info:
- depends on
-
RHEL-56813 Rebase virt-v2v to 2.6 [rhel-9.6]
- In Progress
-
RHEL-56814 Rebase virt-v2v to 2.6 [rhel-10.0]
- In Progress