mbox series

[0/2] qemu-vmsr-helper: fix socket loop breakage

Message ID 20240730163516.83566-1-pbonzini@redhat.com
Headers show
Series qemu-vmsr-helper: fix socket loop breakage | expand

Message

Paolo Bonzini July 30, 2024, 4:35 p.m. UTC
Coverity reported a breakage that snuck in between v5 and v6 of
the series, when 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 improve the error reporting to be more like
qemu-pr-helper's.

Paolo

Paolo Bonzini (2):
  qemu-vmsr-helper: fix socket loop breakage
  qemu-vmsr-helper: implement --verbose/-v

 tools/i386/qemu-vmsr-helper.c | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)