Re: [Qemu-devel] [PATCH v2 2/4] qga: fix send_response error handling

2019-01-24 Thread Michael Roth
Quoting Basil Salman (2019-01-13 04:05:29) > Sometimes qemu-ga fails to send a response to client due to memory allocation > issues due to a large response message, this can be experienced while trying > to read large number of bytes using QMP command guest-file-read. send_response has 2 areas tha

[Qemu-devel] [PATCH v2 2/4] qga: fix send_response error handling

2019-01-13 Thread Basil Salman
Sometimes qemu-ga fails to send a response to client due to memory allocation issues due to a large response message, this can be experienced while trying to read large number of bytes using QMP command guest-file-read. Added a check to send an error response to qemu-ga client in such cases. Sign