aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-03-04 18:33:40 +0000
committerThomas Huth <thuth@redhat.com>2025-03-07 09:23:45 +0100
commit842721581fdbed45fa4738d02df8d28b1eaf28dd (patch)
treec9ce63fbbbca7f0fa64b7a11018bd8b1bc9ae135 /rust/qemu-api/src
parenta31001b1c807cc59b2a9aa99845783cb40a27d0c (diff)
downloadqemu-842721581fdbed45fa4738d02df8d28b1eaf28dd.zip
qemu-842721581fdbed45fa4738d02df8d28b1eaf28dd.tar.gz
qemu-842721581fdbed45fa4738d02df8d28b1eaf28dd.tar.bz2
tests/functional: fix race in virtio balloon test
There are two race conditions in the recently added virtio balloon test * The /dev/vda device node is not ready * The virtio-balloon driver has not issued the first stats refresh To fix the former, monitor dmesg for a line about 'vda'. To fix the latter, retry the stats query until seeing fresh data. Adding 'quiet' to the kernel command line reduces serial output which otherwise slows boot, making it less likely to hit the former race too. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20250304183340.3749797-1-berrange@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> [thuth: Break long line to avoid checkpatch error] Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions