public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* missing compat-ioctl for CDROM_DRIVE_STATUS + FDGETPRM
@ 2011-06-17  9:04 Johannes Stezenbach
  2011-06-17 13:02 ` Arnd Bergmann
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Stezenbach @ 2011-06-17  9:04 UTC (permalink / raw)
  To: kvm; +Cc: linux-kernel

Hi,

running even a simple "qemu-img create -f qcow2 some.img 1G" causes
the following in dmesg on a Linux host with linux-2.6.39.1 x86_64 kernel
and 32bit userspace:

ioctl32(qemu-img:5296): Unknown cmd fd(3) cmd(00005326){t:'S';sz:0} arg(7fffffff) on some.img
ioctl32(qemu-img:5296): Unknown cmd fd(3) cmd(801c0204){t:02;sz:28} arg(fff77350) on some.img

(The same happens when starting a qemu or kvm vm.)

ioctl 00005326 seems to be CDROM_DRIVE_STATUS,
ioctl 801c0204 is FDGETPRM.  Both are used in
qemu/block/raw-posix.c in cdrom_probe_device()
and floppy_probe_device() respectively.

FWIW, I'm using qemu/kvm from Debian unstable
(qemu-0.14.0+dfsg-5.1, qemu-kvm-0.14.1+dfsg-1)


Johannes

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-29 15:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17  9:04 missing compat-ioctl for CDROM_DRIVE_STATUS + FDGETPRM Johannes Stezenbach
2011-06-17 13:02 ` Arnd Bergmann
2011-06-29 11:38   ` Johannes Stezenbach
2011-06-29 12:30     ` Arnd Bergmann
2011-06-29 12:51       ` Johannes Stezenbach
2011-06-29 15:09         ` Johannes Stezenbach
2011-06-29 15:36           ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox