Re: [Qemu-devel] [Bug 1349722] [NEW] qemu-io: Exit code is always zero

2014-07-30 Thread Stefan Hajnoczi
On Tue, Jul 29, 2014 at 08:07:44AM -, Maria Kustova wrote: > The qemu-io always returns zero on exit independently on errors occurred > during the command execution. > > Example, > > $ qemu-io -c 'write 128 234' /tmp/run1/test-1/test.img > > offset 128 is not sector aligned > > $ echo $? >

[Qemu-devel] [Bug 1349722] [NEW] qemu-io: Exit code is always zero

2014-07-29 Thread Maria Kustova
Public bug reported: The qemu-io always returns zero on exit independently on errors occurred during the command execution. Example, $ qemu-io -c 'write 128 234' /tmp/run1/test-1/test.img offset 128 is not sector aligned $ echo $? 0 qemu.git HEAD: 41a1a9c42c4e ** Affects: qemu Importan