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

2017-02-08 Thread Max Reitz
On 01.02.2017 20:55, Max Reitz wrote: > On 20.01.2017 17:25, Eric Farman wrote: >> 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

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

2017-02-01 Thread Max Reitz
On 20.01.2017 17:25, Eric Farman wrote: > 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 short value measured

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

2017-02-01 Thread John Snow
On 01/31/2017 06:47 PM, Max Reitz wrote: > On 31.01.2017 12:37, John Snow wrote: >> >> >> On 01/24/2017 07:09 AM, Fam Zheng wrote: >>> On Tue, 01/24 12:23, Paolo Bonzini wrote: On 22/01/2017 15:29, Fam Zheng wrote: > On Fri, 01/20 17:25, Eric Farman wrote: >> Changes: >

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

2017-01-31 Thread Max Reitz
On 31.01.2017 12:37, John Snow wrote: > > > On 01/24/2017 07:09 AM, Fam Zheng wrote: >> On Tue, 01/24 12:23, Paolo Bonzini wrote: >>> >>> >>> On 22/01/2017 15:29, Fam Zheng wrote: On Fri, 01/20 17:25, Eric Farman wrote: > Changes: > v2->v3: > - Move byte/sector conversions to

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

2017-01-31 Thread John Snow
On 01/24/2017 07:09 AM, Fam Zheng wrote: > On Tue, 01/24 12:23, Paolo Bonzini wrote: >> >> >> On 22/01/2017 15:29, Fam Zheng wrote: >>> On Fri, 01/20 17:25, Eric Farman wrote: Changes: v2->v3: - Move byte/sector conversions to patch 2 [Fam Zheng] - Rename "max_sectors" wh