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

qemu-kvm crashed when starting guest with vhost interface and queues setting

    • Yes
    • Important
    • Regression
    • rhel-sst-security-selinux
    • ssg_security
    • 23
    • None
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Hide

      SELinux policy defines the following rule:
      allow svirt_t virtqemud_t : tun_socket

      { attach_queue }

      ;

      Show
      SELinux policy defines the following rule: allow svirt_t virtqemud_t : tun_socket { attach_queue } ;
    • Pass
    • None
    • Unspecified Release Note Type - Unknown
    • All
    • None

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

      qemu-kvm crashed when starting guest with vhost interface and queues setting

      Please provide the package NVR for which bug is seen:

      libvirt-10.0.0-3.el10+5.aarch64

      qemu-kvm-9.0.0-1.el10.aarch64

      How reproducible:

      100%

      Steps to reproduce

      1. Start a guest with vhost interface and queues setting:
       # virsh dumpxml rhel10 
      <vcpu placement='static'>2</vcpu>
      ......
      <interface type="bridge">
        <mac address="52:54:00:33:95:95"/>
        <source bridge="virbr0"/>
        <model type="virtio"/>
        <driver name="vhost" queues="2"/>
        <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
      </interface>
      

      2. qemu-kvm process crashed:

       coredumpctl debug
                 PID: 105276 (qemu-kvm)
                 UID: 107 (qemu)
                 GID: 107 (qemu)
              Signal: 6 (ABRT)
           Timestamp: Wed 2024-06-05 02:52:07 EDT (20min ago)
        Command Line: /usr/libexec/qemu-kvm -name guest=rhel10,debug-threads=on -S -object $'{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-2-rhel10/master-key.aes"}' -blockdev $'{"driver":"file","filename":"/usr/share/edk2/aarch64/QEMU_EFI-silent-pflash.qcow2","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' -blockdev $'{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"qcow2","file":"libvirt-pflash0-storage"}' -blockdev $'{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/rhel10_VARS.qcow2","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' -blockdev $'{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"qcow2","file":"libvirt-pflash1-storage"}' -machine virt-rhel9.4.0,usb=off,gic-version=3,dump-guest-core=off,memory-backend=mach-virt.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,acpi=on -accel kvm -cpu host -m size=8388608k -object $'{"qom-type":"memory-backend-file","id":"mach-virt.ram","mem-path":"/dev/hugepages/libvirt/qemu/2-rhel10","share":true,"x-use-canonical-path-for-ramblock-id":false,"prealloc":true,"size":8589934592}' -overcommit mem-lock=off -smp 4,sockets=4,cores=1,threads=1 -uuid f355d6bc-a05e-40af-852d-78a7b60fa44e -no-user-config -nodefaults -chardev socket,id=charmonitor,fd=23,server=on,wait=off -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device $'{"driver":"pcie-root-port","port":8,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x1"}' -device $'{"driver":"pcie-root-port","port":9,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x1.0x1"}' -device $'{"driver":"pcie-root-port","port":10,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x1.0x2"}' -device $'{"driver":"pcie-root-port","port":11,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x1.0x3"}' -device $'{"driver":"pcie-root-port","port":12,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x1.0x4"}' -device $'{"driver":"pcie-root-port","port":13,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x1.0x5"}' -device $'{"driver":"pcie-root-port","port":14,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x1.0x6"}' -device $'{"driver":"pcie-root-port","port":15,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x1.0x7"}' -device $'{"driver":"pcie-root-port","port":16,"chassis":9,"id":"pci.9","bus":"pcie.0","multifunction":true,"addr":"0x2"}' -device $'{"driver":"pcie-root-port","port":17,"chassis":10,"id":"pci.10","bus":"pcie.0","addr":"0x2.0x1"}' -device $'{"driver":"pcie-root-port","port":18,"chassis":11,"id":"pci.11","bus":"pcie.0","addr":"0x2.0x2"}' -device $'{"driver":"pcie-root-port","port":19,"chassis":12,"id":"pci.12","bus":"pcie.0","addr":"0x2.0x3"}' -device $'{"driver":"pcie-root-port","port":20,"chassis":13,"id":"pci.13","bus":"pcie.0","addr":"0x2.0x4"}' -device $'{"driver":"pcie-root-port","port":21,"chassis":14,"id":"pci.14","bus":"pcie.0","addr":"0x2.0x5"}' -device $'{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.2","addr":"0x0"}' -device $'{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.3","addr":"0x0"}' -blockdev $'{"driver":"file","filename":"/var/lib/libvirt/images/rhel10.qcow2","aio":"threads","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":true,"no-flush":false}}' -blockdev $'{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-1-storage","backing":null}' -device $'{"driver":"virtio-blk-pci","bus":"pci.4","addr":"0x0","drive":"libvirt-1-format","id":"virtio-disk0","bootindex":1,"write-cache":"on"}' -chardev socket,id=chr-vu-ua-1035e984-8238-46e1-bf56-b546246e1a39,path=/var/lib/libvirt/qemu/domain-2-rhel10/ua-1035e984-8238-46e1-bf56-b546246e1a39-fs.sock -device $'{"driver":"vhost-user-fs-pci","id":"ua-1035e984-8238-46e1-bf56-b546246e1a39","chardev":"chr-vu-ua-1035e984-8238-46e1-bf56-b546246e1a39","queue-size":512,"tag":"mount_tag1","bus":"pci.6","addr":"0x0"}' -netdev $'{"type":"tap","fds":"24:26","vhost":true,"vhostfds":"27:28","id":"hostnet0"}' -device $'{"driver":"virtio-net-pci","mq":true,"vectors":6,"netdev":"hostnet0","id":"net0","mac":"52:54:00:33:95:95","bus":"pci.1","addr":"0x0"}' -chardev pty,id=charserial0 -serial chardev:charserial0 -chardev socket,id=charchannel0,fd=22,server=on,wait=off -device $'{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' -chardev socket,id=chrtpm,path=/run/libvirt/qemu/swtpm/2-rhel10-swtpm.sock -tpmdev emulator,id=tpm-tpm0,chardev=chrtpm -device $'{"driver":"tpm-tis-device","tpmdev":"tpm-tpm0","id":"tpm0"}' -device $'{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' -device $'{"driver":"usb-kbd","id":"input1","bus":"usb.0","port":"2"}' -audiodev $'{"id":"audio1","driver":"none"}' -vnc 0.0.0.0:95,audiodev=audio1 -device $'{"driver":"virtio-gpu-pci","id":"video0","max_outputs":1,"bus":"pci.5","addr":"0x0"}' -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on
          Executable: /usr/libexec/qemu-kvm
       Control Group: /machine.slice/machine-qemu\x2d2\x2drhel10.scope/libvirt/emulator
                Unit: machine-qemu\x2d2\x2drhel10.scope
               Slice: machine.slice
             Boot ID: 76ed3b79f3cf4ee4901df7ced3e2b8bd
          Machine ID: ab45522cd51f49ccb84f261e10dff90f
            Hostname: ampere-mtjade-altra-02.khw.eng.rdu2.dc.redhat.com
             Storage: /var/lib/systemd/coredump/core.qemu-kvm.107.76ed3b79f3cf4ee4901df7ced3e2b8bd.105276.1717570327000000.zst (present)
        Size on Disk: 2.9M
             Message: Process 105276 (qemu-kvm) of user 107 dumped core.
                      
                      Module libblkid.so.1 from rpm util-linux-2.40-0.8.rc1.el10.aarch64
                      Module libgmp.so.10 from rpm gmp-6.2.1-8.el10.aarch64
                      Module libpcre2-8.so.0 from rpm pcre2-10.42-3.el10.1.aarch64
                      Module libffi.so.8 from rpm libffi-3.4.4-7.el10.aarch64
                      Module libselinux.so.1 from rpm libselinux-3.6-4.el10.aarch64
                      Module libmount.so.1 from rpm util-linux-2.40-0.8.rc1.el10.aarch64
                      Module libcrypt.so.2 from rpm libxcrypt-4.4.36-5.el10.aarch64
                      Module libhogweed.so.6 from rpm nettle-3.9.1-7.el10.aarch64
                      Module libnettle.so.8 from rpm nettle-3.9.1-7.el10.aarch64
                      Module libtasn1.so.6 from rpm libtasn1-4.19.0-6.el10.aarch64
                      Module libunistring.so.5 from rpm libunistring-1.1-7.el10.aarch64
                      Module libidn2.so.0 from rpm libidn2-2.3.7-1.el10.aarch64
                      Module libp11-kit.so.0 from rpm p11-kit-0.25.3-4.el10.aarch64
                      Module libaio.so.1 from rpm libaio-0.3.111-19.el10.aarch64
                      Module libgmodule-2.0.so.0 from rpm glib2-2.80.2-1.el10.aarch64
                      Module liburing.so.2 from rpm liburing-2.5-3.el10.aarch64
                      Module libslirp.so.0 from rpm libslirp-4.7.0-6.el10.aarch64
                      Module libzstd.so.1 from rpm zstd-1.5.5-5.el10.aarch64
                      Module libglib-2.0.so.0 from rpm glib2-2.80.2-1.el10.aarch64
                      Module libgobject-2.0.so.0 from rpm glib2-2.80.2-1.el10.aarch64
                      Module libgio-2.0.so.0 from rpm glib2-2.80.2-1.el10.aarch64
                      Module libnuma.so.1 from rpm numactl-2.0.16-5.el10.aarch64
                      Module libseccomp.so.2 from rpm libseccomp-2.5.3-8.el10.aarch64
                      Module libsnappy.so.1 from rpm snappy-1.1.10-4.el10.aarch64
                      Module libsasl2.so.3 from rpm cyrus-sasl-2.1.28-19.el10.aarch64
                      Module libpng16.so.16 from rpm libpng-1.6.40-3.el10.aarch64
                      Module libgnutls.so.30 from rpm gnutls-3.8.5-4.el10.aarch64
                      Module libcapstone.so.5 from rpm capstone-5.0.1-3.el10.aarch64
                      Module libpixman-1.so.0 from rpm pixman-0.43.0-3.el10.aarch64
                      Module libz.so.1 from rpm zlib-ng-2.1.6-2.el10.aarch64
                      Module libfdt.so.1 from rpm dtc-1.7.0-7.el10.aarch64
                      Stack trace of thread 105306:
                      #0  0x0000ffffb9646580 __pthread_kill_implementation (libc.so.6 + 0x96580)
                      #1  0x0000ffffb95f5200 raise (libc.so.6 + 0x45200)
                      #2  0x0000ffffb95e0288 abort (libc.so.6 + 0x30288)
                      #3  0x0000ffffb95ee1a0 __assert_fail_base (libc.so.6 + 0x3e1a0)
                      #4  0x0000ffffb95ee214 __assert_fail (libc.so.6 + 0x3e214)
                      #5  0x0000aaaae610bd4c virtio_net_set_queue_pairs (qemu-kvm + 0x69bd4c)
                      #6  0x0000aaaae610a900 virtio_net_handle_ctrl_iov (qemu-kvm + 0x69a900)
                      #7  0x0000aaaae610e4bc virtio_net_handle_ctrl (qemu-kvm + 0x69e4bc)
                      #8  0x0000aaaae612c544 virtio_queue_notify (qemu-kvm + 0x6bc544)
                      #9  0x0000aaaae6148ff0 memory_region_write_accessor (qemu-kvm + 0x6d8ff0)
                      #10 0x0000aaaae6148e14 access_with_adjusted_size (qemu-kvm + 0x6d8e14)
                      #11 0x0000aaaae6148b9c memory_region_dispatch_write (qemu-kvm + 0x6d8b9c)
                      #12 0x0000aaaae615ca58 flatview_write_continue_step (qemu-kvm + 0x6eca58)
                      #13 0x0000aaaae61568bc flatview_write (qemu-kvm + 0x6e68bc)
                      #14 0x0000aaaae6156748 address_space_write (qemu-kvm + 0x6e6748)
                      #15 0x0000aaaae61adc10 kvm_cpu_exec (qemu-kvm + 0x73dc10)
                      #16 0x0000aaaae61b3224 kvm_vcpu_thread_fn (qemu-kvm + 0x743224)
                      #17 0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #18 0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #19 0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105305:
                      #0  0x0000ffffb96a8f90 ioctl (libc.so.6 + 0xf8f90)
                      #1  0x0000aaaae61ab0d0 kvm_vcpu_ioctl (qemu-kvm + 0x73b0d0)
                      #2  0x0000aaaae61adabc kvm_cpu_exec (qemu-kvm + 0x73dabc)
                      #3  0x0000aaaae61b3224 kvm_vcpu_thread_fn (qemu-kvm + 0x743224)
                      #4  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #5  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #6  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105304:
                      #0  0x0000ffffb96a8f90 ioctl (libc.so.6 + 0xf8f90)
                      #1  0x0000aaaae61ab0d0 kvm_vcpu_ioctl (qemu-kvm + 0x73b0d0)
                      #2  0x0000aaaae61adabc kvm_cpu_exec (qemu-kvm + 0x73dabc)
                      #3  0x0000aaaae61b3224 kvm_vcpu_thread_fn (qemu-kvm + 0x743224)
                      #4  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #5  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #6  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105292:
                      #0  0x0000ffffb96abb24 syscall (libc.so.6 + 0xfbb24)
                      #1  0x0000aaaae633921c qemu_event_wait (qemu-kvm + 0x8c921c)
                      #2  0x0000aaaae6345300 call_rcu_thread (qemu-kvm + 0x8d5300)
                      #3  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #4  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #5  0x0000ffffb96ae00c thread_start (libc.so.6 + 0xfe00c)
                      
                      Stack trace of thread 105294:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105303:
                      #0  0x0000ffffb96a8f90 ioctl (libc.so.6 + 0xf8f90)
                      #1  0x0000aaaae61ab0d0 kvm_vcpu_ioctl (qemu-kvm + 0x73b0d0)
                      #2  0x0000aaaae61adabc kvm_cpu_exec (qemu-kvm + 0x73dabc)
                      #3  0x0000aaaae61b3224 kvm_vcpu_thread_fn (qemu-kvm + 0x743224)
                      #4  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #5  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #6  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105276:
                      #0  0x0000ffffb96a2f64 ppoll (libc.so.6 + 0xf2f64)
                      #1  0x0000aaaae6353310 qemu_poll_ns (qemu-kvm + 0x8e3310)
                      #2  0x0000aaaae634fb50 main_loop_wait (qemu-kvm + 0x8dfb50)
                      #3  0x0000aaaae5e1d4cc qemu_main_loop (qemu-kvm + 0x3ad4cc)
                      #4  0x0000aaaae61b7a80 qemu_default_main (qemu-kvm + 0x747a80)
                      #5  0x0000ffffb95e09dc __libc_start_call_main (libc.so.6 + 0x309dc)
                      #6  0x0000ffffb95e0abc __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x30abc)
                      #7  0x0000aaaae5d23270 _start (qemu-kvm + 0x2b3270)
                      
                      Stack trace of thread 105302:
                      #0  0x0000ffffb96a2994 __poll (libc.so.6 + 0xf2994)
                      #1  0x0000ffffb9b33538 g_main_context_iterate_unlocked.isra.0 (libglib-2.0.so.0 + 0xc3538)
                      #2  0x0000ffffb9ad5dd0 g_main_loop_run (libglib-2.0.so.0 + 0x65dd0)
                      #3  0x0000aaaae61f6e1c iothread_run (qemu-kvm + 0x786e1c)
                      #4  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #5  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #6  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105307:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb96439d4 pthread_cond_wait@@GLIBC_2.17 (libc.so.6 + 0x939d4)
                      #2  0x0000aaaae633884c qemu_cond_wait_impl (qemu-kvm + 0x8c884c)
                      #3  0x0000aaaae5d51248 vnc_worker_thread (qemu-kvm + 0x2e1248)
                      #4  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #5  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #6  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105313:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105311:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105314:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105315:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105316:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105317:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105320:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105318:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105319:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105321:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105322:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105323:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105312:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      
                      Stack trace of thread 105324:
                      #0  0x0000ffffb9640c2c __GI___futex_abstimed_wait_cancelable64 (libc.so.6 + 0x90c2c)
                      #1  0x0000ffffb9643d00 pthread_cond_timedwait@@GLIBC_2.17 (libc.so.6 + 0x93d00)
                      #2  0x0000aaaae6338a74 qemu_cond_timedwait_ts (qemu-kvm + 0x8c8a74)
                      #3  0x0000aaaae63389c4 qemu_cond_timedwait_impl (qemu-kvm + 0x8c89c4)
                      #4  0x0000aaaae6352988 worker_thread (qemu-kvm + 0x8e2988)
                      #5  0x0000aaaae6339498 qemu_thread_start (qemu-kvm + 0x8c9498)
                      #6  0x0000ffffb96447b8 start_thread (libc.so.6 + 0x947b8)
                      #7  0x0000ffffb96add9c thread_start (libc.so.6 + 0xfdd9c)
                      ELF object binary architecture: AARCH64
       

      3.Error info in guest log:

      #cat /var/log/libvirt/qemu/rhel10.log

      ...

      2024-06-05T06:42:12.986677Z qemu-kvm: could not enable queue
      qemu-kvm: ../hw/net/virtio-net.c:780: void virtio_net_set_queue_pairs(VirtIONet *): Assertion `!r' failed.

      ...

      Expected results

      Guest starts successfully.

      Actual results

      qemu-kvm crashed when starting guest with vhost interface and queues setting.

              rhn-support-zpytela Zdenek Pytela
              rhn-support-yafu Yan Fu
              Zdenek Pytela Zdenek Pytela
              Milos Malik Milos Malik
              Votes:
              0 Vote for this issue
              Watchers:
              24 Start watching this issue

                Created:
                Updated: