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

qemu-kvm segfaults when using block-latency-histogram

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-9.6
    • qemu-kvm / Storage
    • None
    • None
    • Moderate
    • 2
    • rhel-virt-storage
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Planning backlog, VirtStorage Sprint16 CY251217
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

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

      Try to use block latency histgram

      $ virsh qemu-monitor-command rhel9 --pretty '{"execute": "query-block" }' | grep virtio-backend
      
      $ virsh qemu-monitor-command rhel9 --pretty '{
              "execute": "block-latency-histogram-set",
              "arguments": {
                  "id": "/machine/peripheral/virtio-disk0/virtio-backend",
                  "boundaries-read":  [10000000, 100000000, 1000000000, 10000000000, 60000000000],
                  "boundaries-write": [10000000, 100000000, 1000000000, 10000000000, 60000000000],
                  "boundaries-flush": [10000000, 100000000, 1000000000, 10000000000, 60000000000]
              }
          }'
      
      $ sleep 30
      
      $ virsh qemu-monitor-command rhel9 --pretty '{
              "execute": "block-latency-histogram-set",
              "arguments": {
                  "id": "/machine/peripheral/virtio-disk0/virtio-backend",
                  "boundaries-read":  [],
                  "boundaries-write": [],
                  "boundaries-flush": []
              }
          }'
      

      What is the impact of this issue to you?

      The feature is not supported officially for customer use, but its useful for suport when troubleshooting issues.

      Please provide the package NVR for which the bug is seen:

      9.1.0-15.el9_6.9

      How reproducible is this bug?:

      Always

      Expected results

      Be able to collect statistics without crashing the VM

      Actual results

      The command itself works, I can collect the data even. But shortly after qemu segfaults.

              kwolf@redhat.com Kevin Wolf
              rhn-support-gveitmic Germano Veit Michel
              virt-maint virt-maint
              qing wang qing wang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: