-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-10.1
-
None
-
No
-
Important
-
rhel-virt-storage
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Use the Valgrind tool to check memory usage in qemu
Find "Invalid read of size 8 " in valgind.log
Red Hat Enterprise Linux release 10.1 Beta (Coughlan)
6.12.0-103.el10.x86_64
device-mapper-1.02.206-3.el10.x86_64
device-mapper-multipath-0.9.9-10.el10.x86_64
qemu-kvm-10.0.0-6.el10.x86_64
seabios-bin-1.16.3-7.el10.noarch
edk2-ovmf-20250523-2.el10.noarch
libvirt-11.3.0-1.el10.x86_64
dell-per750-17.lab.eng.pek2.redhat.com
VM command line:
valgrind \
-s \
--trace-children=yes \
--track-origins=yes \
--leak-check=full \
--show-leak-kinds=definite \
--log-file=/tmp/valgrind.log /usr/libexec/qemu-kvm \
-S \
-name 'avocado-vt-vm1' \
-machine q35,memory-backend=mem-machine_mem \
-device '
' \
-device '
' \
-nodefaults \
-device '
' \
-m 12288 \
-object '
' \
-smp 48,maxcpus=48,cores=24,threads=1,dies=1,sockets=2 \
-cpu 'Haswell-noTSX-IBRS',+kvm_pv_unhalt \
-chardev socket,wait=off,server=on,id=qmp_id_qmpmonitor1,path=/var/tmp/avocado__6ea1pg2/monitor-qmpmonitor1-20250716-040343-UWIEzpQ8 \
-mon chardev=qmp_id_qmpmonitor1,mode=control \
-chardev socket,wait=off,server=on,id=qmp_id_catch_monitor,path=/var/tmp/avocado__6ea1pg2/monitor-catch_monitor-20250716-040343-UWIEzpQ8 \
-mon chardev=qmp_id_catch_monitor,mode=control \
-device '
' \
-chardev socket,wait=off,server=on,id=chardev_serial0,path=/var/tmp/avocado__6ea1pg2/serial-serial0-20250716-040343-UWIEzpQ8 \
-device '
' \
-chardev socket,id=seabioslog_id_20250716-040343-UWIEzpQ8,path=/var/tmp/avocado__6ea1pg2/seabios-20250716-040343-UWIEzpQ8,server=on,wait=off \
-device isa-debugcon,chardev=seabioslog_id_20250716-040343-UWIEzpQ8,iobase=0x402 \
-device '
' \
-device '
' \
-device '
' \
-object '
' \
-object '
' \
-blockdev '{"node-name": "file_image1", "driver": "file", "auto-read-only": true, "discard": "unmap", "aio": "native", "filename": "/home/kvm_autotest_root/images/rhel101-64-virtio.qcow2", "cache": {"direct": true, "no-flush": false}}' \
-blockdev '{"node-name": "drive_image1", "driver": "qcow2", "read-only": false, "cache":
, "file": "file_image1"}' \
-device '
' \
-device '
' \
-device '
' \
-blockdev '{"node-name": "drive_stg1", "driver": "file", "read-only": false, "discard": "unmap", "aio": "native", "filename": "/home/kvm_autotest_root/images/stg1.raw", "cache": {"direct": true, "no-flush": false}}' \
-device '
' \
-blockdev '{"node-name": "file_stg2", "driver": "file", "auto-read-only": true, "discard": "unmap", "aio": "native", "filename": "/home/kvm_autotest_root/images/stg2.qcow2", "cache": {"direct": true, "no-flush": false}}' \
-blockdev '{"node-name": "drive_stg2", "driver": "qcow2", "read-only": false, "cache":
, "file": "file_stg2"}' \
-device '
' \
-blockdev '{"node-name": "drive_stg3", "driver": "file", "read-only": false, "discard": "unmap", "aio": "native", "filename": "/home/kvm_autotest_root/images/stg3.raw", "cache": {"direct": true, "no-flush": false}}' \
-device '
' \
-device '
' \
-blockdev '{"node-name": "file_stg4", "driver": "file", "auto-read-only": true, "discard": "unmap", "aio": "native", "filename": "/home/kvm_autotest_root/images/stg4.qcow2", "cache": {"direct": true, "no-flush": false}}' \
-blockdev '{"node-name": "drive_stg4", "driver": "qcow2", "read-only": false, "cache":
, "file": "file_stg4"}' \
-device '
' \
-device '
' \
-device '
' \
-device '
' \
-netdev '
' \
-vnc :0 \
-rtc base=utc,clock=host,driftfix=slew \
-boot menu=off,order=cdn,once=c,strict=off \
-enable-kvm \
-device '
'