tested with scripts of bz2170472
tested against libvirt-8.0.0-19.2.module+el8.8.0+18944+7f5acf75.x86_64
Result: PASS
test log:
...
==========
Round_100:
==========
Do domblkinfo to trigger qmp cmd: query-named-block-nodes
Capacity: 1073741824
Allocation: 204800
Physical: 196624
Do snapshot creation
Domain snapshot snap100 created from '/tmp/snap100.xml'
Test PASSED, pls double check if query-named-block-nodes has flat=true in log below:
The query-named-block-nodes called by libvirt as follow:
2023-06-05 10:04:51.857+0000: 333829: info : qemuMonitorSend:868 : QEMU_MONITOR_SEND_MSG: mon=0x7f23f81c55d0 msg={"execute":"query-named-block-nodes","arguments":{"flat":true},"id":"libvirt-1998"}
2023-06-05 10:04:51.857+0000: 333982: info : qemuMonitorIOWrite:354 : QEMU_MONITOR_IO_WRITE: mon=0x7f23f81c55d0 buf={"execute":"query-named-block-nodes","arguments":{"flat":true},"id":"libvirt-1998"}
2023-06-05 10:04:52.943+0000: 333830: info : qemuMonitorSend:868 : QEMU_MONITOR_SEND_MSG: mon=0x7f23f81c55d0 msg={"execute":"query-named-block-nodes","arguments":{"flat":true},"id":"libvirt-2000"}
2023-06-05 10:04:52.943+0000: 333982: info : qemuMonitorIOWrite:354 : QEMU_MONITOR_IO_WRITE: mon=0x7f23f81c55d0 buf={"execute":"query-named-block-nodes","arguments":{"flat":true},"id":"libvirt-2000"}
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: virt:rhel and virt-devel:rhel security and bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2023:3822