summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/108/other/1470536
blob: b51902d882dd578f6085a8595391d6826b3aee49 (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
graphic: 0.768
device: 0.725
files: 0.616
semantic: 0.592
network: 0.566
performance: 0.554
socket: 0.441
vnc: 0.396
PID: 0.329
boot: 0.280
debug: 0.252
permissions: 0.156
other: 0.116
KVM: 0.106

qemu-img incorrectly prints "qemu-img: Host floppy pass-through is deprecated"

qemu-img incorrectly prints this warning when you use /dev/fd/<NN> to pass in file descriptors.  A simple way to demonstrate this uses bash process substitution, so the following will only work if you are using bash as your shell:

$ qemu-img info <( cat /dev/null )
qemu-img: Host floppy pass-through is deprecated
Support for it will be removed in a future release.
qemu-img: Could not open '/dev/fd/63': Could not refresh total sector count: Illegal seek

The root cause is a bug in block/raw-posix.c:floppy_probe_device() where it thinks anything starting with /dev/fd is a floppy drive, which is not the case here:

http://git.qemu.org/?p=qemu.git;a=blob;f=block/raw-posix.c;h=cbe6574bf4da90a124436a40422dce3667da71e6;hb=HEAD#l2425

I sent a patch to qemu-devel which should fix this.

Patch has been included here:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=25d9747b6427de825322
... so I am assuming it's OK to close this ticket now.