]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix hyperv spinlock retries count type mismatch
authorFriedrich Oslage <friedrich@oslage.de>
Wed, 22 Oct 2025 09:07:15 +0000 (11:07 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 22 Oct 2025 13:17:44 +0000 (15:17 +0200)
commitd0de1b89be28ddf1cc7075b1c75fab6ec8a9ab94
tree28067192eb4a1b5fa6bf1d42b8e4b00a64ea51f2
parent6862969cf8c9e3a7c0636e7c1a220fe65014155d
qemu: Fix hyperv spinlock retries count type mismatch

Use unsigned int for sprintf and update tests to ensure it can hold INT_MAX+1.

Signed-off-by: Friedrich Oslage <friedrich@oslage.de>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c
tests/qemuxmlconfdata/hyperv.x86_64-latest.args
tests/qemuxmlconfdata/hyperv.x86_64-latest.xml
tests/qemuxmlconfdata/hyperv.xml