summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/semantic/1349722
blob: 137584c59489fd088856b3c7d3b1247edd9da28b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
semantic: 0.552
graphic: 0.481
device: 0.463
instruction: 0.404
mistranslation: 0.358
other: 0.315
socket: 0.299
network: 0.261
vnc: 0.229
boot: 0.185
assembly: 0.124
KVM: 0.062

qemu-io: Exit code is always zero

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

On Tue, Jul 29, 2014 at 08:07:44AM -0000, 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 $?
> 0
> 
> 
> qemu.git HEAD: 41a1a9c42c4e

For single commands it makes sense to return the command success as the
exit code.

When qemu-io is used interactively or with multiple -c options we need a
error handling policy.

For this reason it is not totally trivial to implement.

Stefan


Looking through old bug tickets... is this still an issue with the latest version of QEMU? Or could we close this ticket nowadays?

Should be fixed as of 6b3aa8485ca8e.