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

[virtual network][rhel9][vhost=on]qemu output error messages when remove interface in host

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • rhel-9.5
    • qemu-kvm / Networking
    • None
    • Yes
    • Low
    • Regression
    • rhel-sst-virtualization-networking
    • ssg_virtualization
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

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

      Boot a guest with virtio-net-pci nic and  vhost=on, then remove this interface in host, qemu output error messages: qemu-kvm: vhost vring error in virtqueue 1: Invalid argument (22)

      Please provide the package NVR for which bug is seen:

      qemu-kvm-9.0.0-0.rc1.el9_4.preview.x86_64

      kernel-5.14.0-436.el9.x86_64

      edk2-ovmf-20240214-1.el9.noarch

      How reproducible:

      100%

      Steps to reproduce

      1. Boot guest with virtio-net and vhost=on

      -device '{"id": "pcie-root-port-3", "port": 3, "driver": "pcie-root-port", "addr": "0x1.0x3", "bus": "pcie.0", "chassis": 4}' \
      -device '{"driver": "virtio-net-pci", "mac": "9a:7e:2a:5d:f6:3b", "id": "id86tDLK", "netdev": "id3QV2P9", "bus": "pcie-root-port-3", "addr": "0x0"}' \
      -netdev  '{"id": "id3QV2P9", "type": "tap", "vhost": true, "vhostfd": "16", "fd": "10"}' \
      

       

       

      2. Remove this interface in host after guest boot up

      [root@host]# ip link delete tap0

       

       

      3. qemu output error messages:

      qemu-kvm: vhost vring error in virtqueue 1: Invalid argument (22)

       

       

      Expected results

      There are no any error messages

      Actual results

      qemu output error messages: qemu-kvm: vhost vring error in virtqueue 1: Invalid argument (22)

      Additional info:

      1. Based on the QE debug, it can not reproduced on rhel 8.
      2. If setup vhost=off, it can not hit this problem. And e1000e device works well.

      3. It should not a regression problem, 9.4. 9.3 and 9.2 are aslo can reproduced this problem.

              lvivier@redhat.com Laurent Vivier
              rhn-support-leiyang Lei Yang
              virt-maint virt-maint
              Lei Yang Lei Yang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: