Re: [Qemu-devel] [PATCH for-4.0] qemu-img: Gracefully shutdown when map can't finish

2019-03-28 Thread Eric Blake
On 3/28/19 7:14 AM, Kevin Wolf wrote: > Am 26.03.2019 um 19:40 hat Eric Blake geschrieben: >> Trying 'qemu-img map -f raw nbd://localhost:10809' causes the >> NBD server to output a scary message: >> >> qemu-nbd: Disconnect client, due to: Failed to read request: Unexpected >> end-of-file before a

Re: [Qemu-devel] [PATCH for-4.0] qemu-img: Gracefully shutdown when map can't finish

2019-03-28 Thread Kevin Wolf
Am 26.03.2019 um 19:40 hat Eric Blake geschrieben: > Trying 'qemu-img map -f raw nbd://localhost:10809' causes the > NBD server to output a scary message: > > qemu-nbd: Disconnect client, due to: Failed to read request: Unexpected > end-of-file before all bytes were read > > This is because the

[Qemu-devel] [PATCH for-4.0] qemu-img: Gracefully shutdown when map can't finish

2019-03-26 Thread Eric Blake
Trying 'qemu-img map -f raw nbd://localhost:10809' causes the NBD server to output a scary message: qemu-nbd: Disconnect client, due to: Failed to read request: Unexpected end-of-file before all bytes were read This is because the NBD client, being remote, has no way to expose a human-readable m