Re: [Qemu-devel] [RFC PATCH 0/3] scsi-generic and BLKSECTGET

2017-01-16 Thread Fam Zheng
On Mon, 01/16 22:11, Eric Farman wrote: > (cc'ing linux-scsi for the cover-letter; patches only to QEMU lists.) > > In the Linux kernel, I see two (three) places where the BLKSECTGET ioctl is > handled: > > (1) block/(compat_)ioctl.c -- (compat_)blkdev_ioctl > (2) drivers/scsi/sg.c -- sg_ioctl >

[Qemu-devel] [RFC PATCH 0/3] scsi-generic and BLKSECTGET

2017-01-16 Thread Eric Farman
(cc'ing linux-scsi for the cover-letter; patches only to QEMU lists.) In the Linux kernel, I see two (three) places where the BLKSECTGET ioctl is handled: (1) block/(compat_)ioctl.c -- (compat_)blkdev_ioctl (2) drivers/scsi/sg.c -- sg_ioctl The former has been around forever[1], and returns a sh