]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu-vmsr-helper: fix socket loop breakage
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Jul 2024 15:55:37 +0000 (17:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 31 Jul 2024 11:14:52 +0000 (13:14 +0200)
commit768a28394c9412fe1cfdf48509713fd11779a658
treeb4d21966b3c0a3bacd997aa72be49ad58aa6d852
parent6e623af30130fce6e94c717176f3e3c9f2742b7d
qemu-vmsr-helper: fix socket loop breakage

Between v5 and v6 of the series, the socket loop of qemu-vmsr-helper was changed to
allow sending multiple requests on the same socket.  Unfortunately, the condition
of the while loop is botched and the loop will never be entered.  Clean it up, and
also unify the handling of error reporting.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/i386/qemu-vmsr-helper.c