Re: [Qemu-devel] [PATCH 1/4] qemu-io: Don't die on second open

2017-05-24 Thread Eric Blake
On 05/24/2017 01:28 AM, Fam Zheng wrote: > On Thu, 05/18 21:32, Eric Blake wrote: >> Failure to open a file in qemu-io should normally return 1 on >> failure to end the command loop, on the presumption that when >> batching commands all on the command line, failure to open means >> nothing further

Re: [Qemu-devel] [PATCH 1/4] qemu-io: Don't die on second open

2017-05-24 Thread Fam Zheng
On Thu, 05/18 21:32, Eric Blake wrote: > Failure to open a file in qemu-io should normally return 1 on > failure to end the command loop, on the presumption that when > batching commands all on the command line, failure to open means > nothing further can be attempted. But when executing qemu-io >

[Qemu-devel] [PATCH 1/4] qemu-io: Don't die on second open

2017-05-18 Thread Eric Blake
Failure to open a file in qemu-io should normally return 1 on failure to end the command loop, on the presumption that when batching commands all on the command line, failure to open means nothing further can be attempted. But when executing qemu-io interactively, there is a special case: if open