Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-59407

RFE: Add aliases to osinfo data for win2k22 and other server operating systems

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.5
    • virtio-win
    • None
    • rhel-sst-virtualization
    • ssg_virtualization
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      Virt-v2v tries to use osinfo-db data provided by virtio-win to install the right drivers.

      This information is found in:

      ./os/microsoft.com/win-7.d/virtio-win-pre-installable-drivers-win-7.xml
      ./os/microsoft.com/win-8.1.d/virtio-win-pre-installable-drivers-win-8.1.xml
      ./os/microsoft.com/win-8.d/virtio-win-pre-installable-drivers-win-8.xml
      ./os/microsoft.com/win-10.d/virtio-win-pre-installable-drivers-win-10.xml
      ./os/microsoft.com/win-11.d/virtio-win-pre-installable-drivers-win-11.xml
      

      Virt-v2v uses the osinfo "short ID" to do this matching:

      $ osinfo-query os | grep win
      ...
       win10                | Microsoft Windows 10                               | 10.0     | http://microsoft.com/win/10             
       win11                | Microsoft Windows 11                               | 11.0     | http://microsoft.com/win/11             
       win2k16              | Microsoft Windows Server 2016                      | 10.0     | http://microsoft.com/win/2k16           
       win2k19              | Microsoft Windows Server 2019                      | 10.0     | http://microsoft.com/win/2k19           
       win2k22              | Microsoft Windows Server 2022                      | 10.0     | http://microsoft.com/win/2k22           
      ... etc ...
      

      When virt-v2v can't find the osinfo for a matching operating system, like win2k22, it falls back to heuristic detection of drivers. The heuristic detection is somewhat error-prone.

      I believe there's a problem that virtio-win osinfo data doesn't provide short ID references for server versions of Windows:

      $ find -name '*virtio*' | xargs grep win2k22
      (no output)
      

      This RFE is to work out how to provide this information (which I will investigate further).

              rhn-eng-rjones Richard Jones
              rhn-eng-rjones Richard Jones
              virt-maint virt-maint
              Yan Tian Yan Tian
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: