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

[Mingw-qemu-ga-win] The version of mingw-qemu-ga-win doesn't match inside query and via command 'guest-info'

    • mingw-qemu-ga-win-109.1.0-3.el10
    • None
    • Critical
    • CustomerScenariosInitiative
    • rhel-sst-virtualization-windows
    • ssg_virtualization
    • 20
    • 22
    • 2
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • None
    • Unspecified Release Note Type - Unknown
    • x86_64
    • None

      What were you trying to do that didn't work?

      The package version doesn't match between VM inside query and outside query via command 'guest-info'. but it just happened on the latest 'mingw-qemu-ga-win-108.0.1-1.el10.noarch.rpm', previous versions works fine. so it's also a regression bug.

       

      Please provide the package NVR for which bug is seen:
      mingw-qemu-ga-win-108.0.1-1.el10.noarch.rpm
      win2022

      How reproducible:
      100%

      Steps to reproduce
      1. boot up windows with qga related qemu command line:

      -chardev socket,server=on,wait=off,id=chardev_org.qemu.guest_agent.0,path=/var/tmp/avocado_y89uzmhj/serial-org.qemu.guest_agent.0-20240303-220408-cfesccNj \
      -device '{"id": "pcie-root-port-1", "port": 1, "driver": "pcie-root-port", "addr": "0x1.0x1", "bus": "pcie.0", "chassis": 2}' \
      -device '{"id": "virtio_serial_pci0", "driver": "virtio-serial-pci", "bus": "pcie-root-port-1", "addr": "0x0"}' \
      -device '{"id": "org.qemu.guest_agent.0", "driver": "virtserialport", "name": "org.qemu.guest_agent.0", "chardev": "chardev_org.qemu.guest_agent.0", "bus": "virtio_serial_pci0.0", "nr": 1}' \

      2. install the mingw-qemu-ga-win.
      3. query its version inside and outside VM:
          3.1. inside VM to execute cmd: `wmic product where Name="QEMU guest agent" get Version | findstr /v Version`
          3.2. outside VM to execute qga command:
              [root@hp-dl385g10-17 mingw-qemu-gawin-pck]# nc -U /var/tmp/avocado_y89uzmhj/serial-org.qemu.guest_agent.0-20240303-220408-cfesccNj

              {"execute":"guest-info"}

      Expected results
      Get the same build number

      Actual results
      inside VM is: "108.0.1"
      outside VM is: "108.0.2"

              kkostiuk Konstantin Kostiuk
              mengdehan Meng Dehan
              Konstantin Kostiuk Konstantin Kostiuk
              Meng Dehan Meng Dehan
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: