Re: [Qemu-block] [Qemu-devel] [PATCH 2/5] virtio-blk: disable scsi passthrough for 1.0 device

2015-07-16 Thread Cornelia Huck
On Wed, 15 Jul 2015 21:51:32 +0300 "Michael S. Tsirkin" wrote: > On Wed, Jul 15, 2015 at 05:38:53PM +0200, Cornelia Huck wrote: > > On Wed, 15 Jul 2015 17:39:18 +0300 > > "Michael S. Tsirkin" wrote: > > > > > On Wed, Jul 15, 2015 at 04:30:51PM +0200, Cornelia Huck wrote: > > > > On Wed, 15 Jul

Re: [Qemu-block] [Qemu-devel] [PATCH 2/5] virtio-blk: disable scsi passthrough for 1.0 device

2015-07-16 Thread Michael S. Tsirkin
On Thu, Jul 16, 2015 at 02:37:12PM +0200, Cornelia Huck wrote: > On Wed, 15 Jul 2015 21:51:32 +0300 > "Michael S. Tsirkin" wrote: > > > On Wed, Jul 15, 2015 at 05:38:53PM +0200, Cornelia Huck wrote: > > > On Wed, 15 Jul 2015 17:39:18 +0300 > > > "Michael S. Tsirkin" wrote: > > > > > > > On Wed,

Re: [Qemu-block] [PATCH] raw-posix.c: Make physical devices usable in QEMU

2015-07-16 Thread Stefan Hajnoczi
On Thu, Jul 09, 2015 at 10:02:26AM -0400, Programmingkid wrote: > > On Jul 9, 2015, at 6:52 AM, Stefan Hajnoczi wrote: > > > On Tue, Jul 07, 2015 at 01:33:23PM -0400, Programmingkid wrote: > >> Make physical devices like a USB flash drive or a CDROM drive work in > >> QEMU. With > >> this patch

Re: [Qemu-block] [Qemu-devel] [PATCH 1/3] blockjob: Introduce block_job_relax_cpu

2015-07-16 Thread Stefan Hajnoczi
On Wed, Jul 15, 2015 at 06:32:54PM +0800, Fam Zheng wrote: > On Tue, 07/14 13:31, Stefan Hajnoczi wrote: > > On Fri, Jul 10, 2015 at 05:42:48AM +0200, Alexandre DERUMIER wrote: > > > >>By the way, why did you choose 10 milliseconds? That is quite long. > > > >> > > > >>If this function is called o

Re: [Qemu-block] [Qemu-devel] [PATCH 2/5] virtio-blk: disable scsi passthrough for 1.0 device

2015-07-16 Thread Paolo Bonzini
On 16/07/2015 14:47, Michael S. Tsirkin wrote: > I think for 2.4 it's a good idea to avoid enabling modern interface > by default. Therefore, for 2.4 we can keep scsi enabled unless modern > is requested by user. I agree. > I am also fine with just doing > > if (modern && scsi) >

Re: [Qemu-block] [PATCH] raw-posix.c: Make physical devices usable in QEMU

2015-07-16 Thread Programmingkid
On Jul 16, 2015, at 9:19 AM, Stefan Hajnoczi wrote: > On Thu, Jul 09, 2015 at 10:02:26AM -0400, Programmingkid wrote: >> >> On Jul 9, 2015, at 6:52 AM, Stefan Hajnoczi wrote: >> >>> On Tue, Jul 07, 2015 at 01:33:23PM -0400, Programmingkid wrote: Make physical devices like a USB flash drive

Re: [Qemu-block] [PATCH] raw-posix.c: Make physical devices usable in QEMU

2015-07-16 Thread Stefan Hajnoczi
On Thu, Jul 16, 2015 at 6:26 PM, Programmingkid wrote: > > On Jul 16, 2015, at 9:19 AM, Stefan Hajnoczi wrote: > >> On Thu, Jul 09, 2015 at 10:02:26AM -0400, Programmingkid wrote: >>> >>> On Jul 9, 2015, at 6:52 AM, Stefan Hajnoczi wrote: >>> On Tue, Jul 07, 2015 at 01:33:23PM -0400, Programm

Re: [Qemu-block] [PATCH] raw-posix.c: Make physical devices usable in QEMU

2015-07-16 Thread Programmingkid
On Jul 16, 2015, at 3:43 PM, Stefan Hajnoczi wrote: > On Thu, Jul 16, 2015 at 6:26 PM, Programmingkid > wrote: >> >> On Jul 16, 2015, at 9:19 AM, Stefan Hajnoczi wrote: >> >>> On Thu, Jul 09, 2015 at 10:02:26AM -0400, Programmingkid wrote: On Jul 9, 2015, at 6:52 AM, Stefan Hajnoczi

[Qemu-block] [PATCH] ahci: Force ICC bits in PxCMD to zero

2015-07-16 Thread Stefan Fritsch
The AHCI spec requires that the HBA sets the ICC bits to zero after the ICC change is done. Since we don't do any ICC change, force the bits to zero all the time. This fixes delays with some OSs (e.g. OpenBSD) waiting for the ICC bits to change to 0. Signed-off-by: Stefan Fritsch --- hw/ide/ahc

[Qemu-block] [PATCH v2] raw-posix.c: Make physical devices usable in QEMU under Mac OS X host

2015-07-16 Thread Programmingkid
Mac OS X can be picky when it comes to allowing the user to use physical devices in QEMU. This patch fixes that issue by testing each physical device first before using it in QEMU. If an issue is detected, a message is displayed showing the user how to unmount a volume. Signed-off-by: John Arbuck