[Qemu-block] [PULL 04/42] dataplane: allow virtio-1 devices

2015-06-11 Thread Michael S. Tsirkin
From: Cornelia Huck cornelia.h...@de.ibm.com Handle endianness conversion for virtio-1 virtqueues correctly. Note that dataplane now needs to be built per-target. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com Reviewed-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Michael S

Re: [Qemu-block] [Qemu-devel] [PATCH RFC 3/3] block/nfs: switch to error_init_local

2015-06-16 Thread Michael S. Tsirkin
On Tue, Jun 16, 2015 at 09:08:16AM -0600, Eric Blake wrote: On 06/16/2015 06:53 AM, Michael S. Tsirkin wrote: We probably should just switch everyone, this is just to demonstrate the API usage. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- block/nfs.c | 2 +- 1 file

[Qemu-block] [PULL 09/10] pci: Don't register a specialized 'config_write' if default behavior is intended

2015-06-17 Thread Michael S. Tsirkin
shmulik.ladk...@ravellosystems.com Reviewed-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/misc/ivshmem.c| 1 - hw/net/vmxnet3.c | 9 - hw/scsi/megasas.c| 8 hw/scsi/vmw_pvscsi.c | 8 4 files changed, 26 deletions

[Qemu-block] [PATCH v2 3/3] block/nfs: switch to error_init_local

2015-06-17 Thread Michael S. Tsirkin
We probably should just switch everyone, this is just to demonstrate the API usage. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- block/nfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/nfs.c b/block/nfs.c index ca9e24e..de4b8c3 100644 --- a/block/nfs.c

Re: [Qemu-block] [PATCH v2] virtio: make features 64bit wide

2015-05-29 Thread Michael S. Tsirkin
On Fri, May 29, 2015 at 09:51:20AM +0200, Gerd Hoffmann wrote: Make features 64bit wide everywhere. Exception: command line flags remain 32bit and are copyed into the lower 32 host_features at initialization time. On migration a full 64bit guest_features field is sent if one of the high

[Qemu-block] [PULL 42/57] i386/pc_q35: don't insist on board FDC if there's no default floppy

2015-05-31 Thread Michael S. Tsirkin
...@redhat.com Cc: Gerd Hoffmann kra...@redhat.com Cc: John Snow js...@redhat.com Cc: Gabriel L. Somlo gso...@gmail.com Cc: Michael S. Tsirkin m...@redhat.com Cc: Kevin Wolf kw...@redhat.com Cc: qemu-block@nongnu.org Signed-off-by: Laszlo Ersek ler...@redhat.com Reviewed-by: Michael S. Tsirkin m...@redhat.com

[Qemu-block] [PULL 43/57] i386: drop FDC in pc-q35-2.4+ if neither it nor floppy drives are wanted

2015-05-31 Thread Michael S. Tsirkin
in the config file), - no -drive if=floppy,... is requested. Cc: Markus Armbruster arm...@redhat.com Cc: Paolo Bonzini pbonz...@redhat.com Cc: Gerd Hoffmann kra...@redhat.com Cc: John Snow js...@redhat.com Cc: Gabriel L. Somlo gso...@gmail.com Cc: Michael S. Tsirkin m...@redhat.com Cc: Kevin Wolf

[Qemu-block] [PULL 40/57] i386/pc: pc_basic_device_init(): delegate FDC creation request

2015-05-31 Thread Michael S. Tsirkin
pbonz...@redhat.com Cc: Gerd Hoffmann kra...@redhat.com Cc: John Snow js...@redhat.com Cc: Gabriel L. Somlo gso...@gmail.com Cc: Michael S. Tsirkin m...@redhat.com Cc: Kevin Wolf kw...@redhat.com Cc: qemu-block@nongnu.org Signed-off-by: Laszlo Ersek ler...@redhat.com Reviewed-by: Michael S. Tsirkin m

[Qemu-block] [PULL v2 41/60] i386/pc: '-drive if=floppy' should imply a board-default FDC

2015-06-01 Thread Michael S. Tsirkin
break without explicit '-device isa-fdc' on such boards. Cc: Markus Armbruster arm...@redhat.com Cc: Paolo Bonzini pbonz...@redhat.com Cc: Gerd Hoffmann kra...@redhat.com Cc: John Snow js...@redhat.com Cc: Gabriel L. Somlo gso...@gmail.com Cc: Michael S. Tsirkin m...@redhat.com Cc: Kevin Wolf kw

Re: [Qemu-block] [PATCH v2] virtio: make features 64bit wide

2015-06-01 Thread Michael S. Tsirkin
On Mon, Jun 01, 2015 at 09:23:28AM +0200, Gerd Hoffmann wrote: On Fr, 2015-05-29 at 16:53 +0200, Michael S. Tsirkin wrote: On Fri, May 29, 2015 at 09:51:20AM +0200, Gerd Hoffmann wrote: Make features 64bit wide everywhere. Exception: command line flags remain 32bit and are copyed

[Qemu-block] [PULL 08/10] virtio-blk: only clear VIRTIO_F_ANY_LAYOUT for legacy device

2015-07-28 Thread Michael S. Tsirkin
...@redhat.com Cc: Kevin Wolf kw...@redhat.com Cc: qemu-block@nongnu.org Signed-off-by: Jason Wang jasow...@redhat.com Reviewed-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com Acked-by: Paolo Bonzini pbonz...@redhat.com --- hw/block/virtio-blk.c | 2 +- 1 file

[Qemu-block] [PULL 06/10] virtio: get_features() can fail

2015-07-28 Thread Michael S. Tsirkin
From: Jason Wang jasow...@redhat.com Signed-off-by: Jason Wang jasow...@redhat.com Reviewed-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com Acked-by: Paolo Bonzini pbonz...@redhat.com --- include/hw/virtio/virtio.h | 4 +++- hw/9pfs/virtio-9p-device.c

[Qemu-block] [PULL 04/10] virtio: set any_layout in virtio core

2015-07-28 Thread Michael S. Tsirkin
Exceptions: - virtio-blk - compat machine types Signed-off-by: Michael S. Tsirkin m...@redhat.com --- include/hw/compat.h| 22 +- include/hw/virtio/virtio.h | 4 +++- hw/block/virtio-blk.c | 1 + hw/net/virtio-net.c| 2 -- hw/scsi/virtio-scsi.c

[Qemu-block] [PULL 10/10] virtio: minor cleanup

2015-07-28 Thread Michael S. Tsirkin
There's no need for blk to set ANY_LAYOUT, it's done by virtio core as necessary. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/block/virtio-blk.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c index 44f9b8e..1556c9c 100644 --- a/hw

Re: [Qemu-block] [PATCH v2 2/6] hw/virtio/virtio-pci: Use pow2ceil() rather than hand-calculation

2015-08-12 Thread Michael S. Tsirkin
On Fri, Jul 24, 2015 at 01:33:08PM +0100, Peter Maydell wrote: Use the utility function pow2ceil() for rounding up to the next largest power of 2, rather than inline calculation. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Michael S. Tsirkin m...@redhat.com --- hw

Re: [Qemu-block] [PATCH v2 1/6] hw/pci: Use pow2ceil() rather than hand-calculation

2015-08-12 Thread Michael S. Tsirkin
Maydell peter.mayd...@linaro.org Reviewed-by: Michael S. Tsirkin m...@redhat.com --- hw/pci/msix.c | 4 +--- hw/pci/pci.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/hw/pci/msix.c b/hw/pci/msix.c index 7716bf3..2fdada4 100644 --- a/hw/pci/msix.c +++ b/hw

Re: [Qemu-block] [PATCH V4 3/3] virtio-blk: only clear VIRTIO_F_ANY_LAYOUT for legacy device

2015-07-27 Thread Michael S. Tsirkin
On Mon, Jul 27, 2015 at 12:30:19PM +0200, Paolo Bonzini wrote: On 27/07/2015 11:49, Jason Wang wrote: So this patch only clear VIRTIO_F_LAYOUT for legacy device. Cc: Stefan Hajnoczi stefa...@redhat.com Cc: Kevin Wolf kw...@redhat.com Cc: qemu-block@nongnu.org Signed-off-by: Jason

Re: [Qemu-block] [PATCH V4 3/3] virtio-blk: only clear VIRTIO_F_ANY_LAYOUT for legacy device

2015-07-27 Thread Michael S. Tsirkin
On Mon, Jul 27, 2015 at 03:28:51PM +0200, Cornelia Huck wrote: On Mon, 27 Jul 2015 14:22:37 +0300 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jul 27, 2015 at 12:30:19PM +0200, Paolo Bonzini wrote: On 27/07/2015 11:49, Jason Wang wrote: So this patch only clear

[Qemu-block] [PATCH RFC] virtio: set any_layout in virtio core

2015-07-22 Thread Michael S. Tsirkin
Virtio 1 requires this, and all devices are clean by now, so let's do it! Exceptions: - virtio-blk - compat machine types Signed-off-by: Michael S. Tsirkin m...@redhat.com --- Untested - consider this pseudo-code - it just seems easier to write it in C than try to explain it. include

Re: [Qemu-block] [PATCH RFC] virtio: set any_layout in virtio core

2015-07-23 Thread Michael S. Tsirkin
On Thu, Jul 23, 2015 at 04:14:36PM +0800, Jason Wang wrote: On 07/22/2015 05:36 PM, Michael S. Tsirkin wrote: Virtio 1 requires this, I think you mean transitional not virtio 1? and all devices are clean by now, so let's do it! Exceptions: - virtio-blk - compat

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

2015-07-13 Thread Michael S. Tsirkin
On Mon, Jul 13, 2015 at 05:00:51PM +0800, Jason Wang wrote: On 07/13/2015 03:46 PM, Michael S. Tsirkin wrote: On Mon, Jul 13, 2015 at 01:46:48PM +0800, Jason Wang wrote: VIRTIO_BLK_F_SCSI was no longer supported in 1.0. So disable it. Cc: Stefan Hajnoczi stefa...@redhat.com Cc

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

2015-07-13 Thread Michael S. Tsirkin
On Mon, Jul 13, 2015 at 02:30:24PM +0200, Cornelia Huck wrote: On Mon, 13 Jul 2015 15:22:52 +0300 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jul 13, 2015 at 01:51:56PM +0200, Cornelia Huck wrote: On Mon, 13 Jul 2015 11:56:51 +0200 Kevin Wolf kw...@redhat.com wrote: Am

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

2015-07-15 Thread Michael S. Tsirkin
On Wed, Jul 15, 2015 at 01:46:38PM +0200, Cornelia Huck wrote: On Wed, 15 Jul 2015 13:59:00 +0300 Michael S. Tsirkin m...@redhat.com wrote: On Tue, Jul 14, 2015 at 07:43:44PM +0200, Cornelia Huck wrote: Yes, and that's because as written, transitional devices must set ANY_LAYOUT

Re: [Qemu-block] [PATCH V2 3/5] virtio-blk: disable scsi passthrough by default

2015-07-15 Thread Michael S. Tsirkin
On Wed, Jul 15, 2015 at 01:29:59PM +0800, Jason Wang wrote: Disable scsi passthrough by default since it was incompatible with virtio 1.0. For legacy machine types, keep this on by default. Cc: Stefan Hajnoczi stefa...@redhat.com Cc: Kevin Wolf kw...@redhat.com Cc: qemu-block@nongnu.org

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

2015-07-15 Thread Michael S. Tsirkin
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 m...@redhat.com wrote: On Wed, Jul 15, 2015 at 04:30:51PM +0200, Cornelia Huck wrote: On Wed, 15 Jul 2015 17:11:57 +0300 Michael S. Tsirkin m...@redhat.com wrote

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

2015-07-13 Thread Michael S. Tsirkin
On Mon, Jul 13, 2015 at 03:20:59PM +0200, Cornelia Huck wrote: On Mon, 13 Jul 2015 15:36:00 +0300 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jul 13, 2015 at 02:30:24PM +0200, Cornelia Huck wrote: On Mon, 13 Jul 2015 15:22:52 +0300 Michael S. Tsirkin m...@redhat.com wrote

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

2015-07-15 Thread Michael S. Tsirkin
On Wed, Jul 15, 2015 at 03:40:22PM +0200, Cornelia Huck wrote: On Wed, 15 Jul 2015 16:16:07 +0300 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jul 15, 2015 at 02:43:51PM +0200, Cornelia Huck wrote: On Wed, 15 Jul 2015 15:01:01 +0300 Michael S. Tsirkin m...@redhat.com wrote

Re: [Qemu-block] [PATCH V2 3/5] virtio-blk: disable scsi passthrough by default

2015-07-15 Thread Michael S. Tsirkin
On Wed, Jul 15, 2015 at 02:47:24PM +0200, Paolo Bonzini wrote: On 15/07/2015 14:21, Michael S. Tsirkin wrote: Disable scsi passthrough by default since it was incompatible with virtio 1.0. For legacy machine types, keep this on by default. Cc: Stefan Hajnoczi stefa...@redhat.com

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

2015-07-15 Thread Michael S. Tsirkin
On Wed, Jul 15, 2015 at 04:30:51PM +0200, Cornelia Huck wrote: On Wed, 15 Jul 2015 17:11:57 +0300 Michael S. Tsirkin m...@redhat.com wrote: Fine, but revision is negotiated way before features are probed so why does it make a practical difference? Legacy drivers

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

2015-07-15 Thread Michael S. Tsirkin
On Wed, Jul 15, 2015 at 02:43:51PM +0200, Cornelia Huck wrote: On Wed, 15 Jul 2015 15:01:01 +0300 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jul 15, 2015 at 01:46:38PM +0200, Cornelia Huck wrote: On Wed, 15 Jul 2015 13:59:00 +0300 Michael S. Tsirkin m...@redhat.com wrote

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

2015-07-13 Thread Michael S. Tsirkin
On Mon, Jul 13, 2015 at 01:46:48PM +0800, Jason Wang wrote: VIRTIO_BLK_F_SCSI was no longer supported in 1.0. So disable it. Cc: Stefan Hajnoczi stefa...@redhat.com Cc: Kevin Wolf kw...@redhat.com Cc: qemu-block@nongnu.org Signed-off-by: Jason Wang jasow...@redhat.com Interesting, I

[Qemu-block] [PATCH 3/6] virtio-blk: convert to virtqueue_map

2015-10-27 Thread Michael S. Tsirkin
Drop deprecated use of virtqueue_map_sg. Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- hw/block/virtio-blk.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c index 8beb26b..3e230de 100644 --- a/hw/block/virtio

[Qemu-block] [PATCH 1/2] dataplane: simplify indirect descriptor read

2015-10-28 Thread Michael S. Tsirkin
Use address_space_read to make sure we handle the case of an indirect descriptor crossing DIMM boundary correctly. Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- Warning: compile-tested only. hw/virtio/dataplane/vring.c | 28 ++-- 1 file changed, 18 inse

[Qemu-block] [PATCH] fixup! dataplane: support non-contigious s/g

2015-10-28 Thread Michael S. Tsirkin
Should fix issues Stefan reported. --- Built only. hw/virtio/dataplane/vring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/virtio/dataplane/vring.c b/hw/virtio/dataplane/vring.c index 9ae9424..23f667e 100644 --- a/hw/virtio/dataplane/vring.c +++

[Qemu-block] [PULL 08/16] virtio-blk: convert to virtqueue_map

2015-10-29 Thread Michael S. Tsirkin
Drop deprecated use of virtqueue_map_sg. Signed-off-by: Michael S. Tsirkin <m...@redhat.com> Reviewed-by: Igor Mammedov <imamm...@redhat.com> --- hw/block/virtio-blk.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hw/block/virtio-blk.c b/hw/block/virtio

Re: [Qemu-block] [PATCH v2 3/3] virtio-blk: switch off scsi-passthrough by default

2015-10-19 Thread Michael S. Tsirkin
On Mon, Oct 19, 2015 at 01:53:50PM +0200, Cornelia Huck wrote: > On Sun, 18 Oct 2015 10:59:59 +0300 > "Michael S. Tsirkin" <m...@redhat.com> wrote: > > > On Fri, Oct 16, 2015 at 01:07:28PM +0200, Christian Borntraeger wrote: > > > > Lets keep t

Re: [Qemu-block] [PATCH v2 3/3] virtio-blk: switch off scsi-passthrough by default

2015-10-18 Thread Michael S. Tsirkin
On Fri, Oct 16, 2015 at 01:07:28PM +0200, Christian Borntraeger wrote: > Am 16.10.2015 um 12:44 schrieb Cornelia Huck: > > On Fri, 16 Oct 2015 12:32:52 +0200 > > Christian Borntraeger wrote: > > > >> Am 16.10.2015 um 12:25 schrieb Cornelia Huck: > >>> Devices that are

[Qemu-block] [PULL v2 02/16] Revert dataplane: allow virtio-1 devices

2015-07-08 Thread Michael S. Tsirkin
. Tsirkin m...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com Acked-by: Stefan Hajnoczi stefa...@redhat.com --- hw/virtio/dataplane/vring.c | 47 - 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/hw/virtio/dataplane/vring.c b/hw

[Qemu-block] [PULL 02/13] Revert dataplane: allow virtio-1 devices

2015-07-07 Thread Michael S. Tsirkin
. Tsirkin m...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com Acked-by: Stefan Hajnoczi stefa...@redhat.com --- hw/virtio/dataplane/vring.c | 47 - 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/hw/virtio/dataplane/vring.c b/hw

[Qemu-block] [PULL 01/13] dataplane: fix cross-endian issues

2015-07-07 Thread Michael S. Tsirkin
-by: Greg Kurz gk...@linux.vnet.ibm.com Reviewed-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com Reviewed-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/virtio/dataplane/vring.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hw

Re: [Qemu-block] [Qemu-devel] [PATCH v5 4/6] expose floppy drive geometry and CMOS type

2016-01-04 Thread Michael S. Tsirkin
, in particular, when dynamically building ACPI tables, > > and will allow to properly populate the corresponding ACPI objects and > > thus enable BIOS-less systems to access the floppy drives. > > > > Signed-off-by: Roman Kagan <rka...@virtuozzo.com> > > Cc:

Re: [Qemu-block] [PATCH] SCSI device: fix to incomplete QOMify

2016-01-06 Thread Michael S. Tsirkin
On Wed, Jan 06, 2016 at 05:37:46PM +0800, Cao jin wrote: > Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> Acked-by: Michael S. Tsirkin <m...@redhat.com> > --- > hw/scsi/megasas.c | 12 ++-- > hw/scsi/scsi-bus.c| 4 ++-- > hw/scsi/virtio-scsi.c |

Re: [Qemu-block] [PATCH v5 0/6] i386: expose floppy-related objects in SSDT

2016-01-07 Thread Michael S. Tsirkin
On Thu, Jan 07, 2016 at 12:56:09PM +0200, Michael S. Tsirkin wrote: > On Wed, Jan 06, 2016 at 03:04:40PM +0100, Igor Mammedov wrote: > > On Wed, 30 Dec 2015 23:11:50 +0300 > > Roman Kagan <rka...@virtuozzo.com> wrote: > > > > > Windows on UEFI systems is on

Re: [Qemu-block] [PATCH v5 0/6] i386: expose floppy-related objects in SSDT

2016-01-07 Thread Michael S. Tsirkin
expose identifying the floppy controller > > i386/acpi: make floppy controller object dynamic > > tests/acpi: update test data > > expose floppy drive geometry and CMOS type > > i386: populate floppy drive information in SSDT > > tests/acpi: update test data >

[Qemu-block] [PULL v2 55/59] i386/pc: expose identifying the floppy controller

2016-01-09 Thread Michael S. Tsirkin
From: Roman Kagan <rka...@virtuozzo.com> Factor out and expose the function to locate the floppy controller in the system. It will allow to dynamically populate the relevant objects in the ACPI tables. Signed-off-by: Roman Kagan <rka...@virtuozzo.com> Cc: "Michael S. Tsirkin&

[Qemu-block] [PATCH for-2.5] blkdebug: silence warning under qtest

2015-11-30 Thread Michael S. Tsirkin
make check always outputs warnings, this is not nice. Disable blkdebug warnings under qtest. Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- block/blkdebug.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/block/blkdebug.c b/block/blkdebug.c index 6

[Qemu-block] [PULL 55/59] i386/pc: expose identifying the floppy controller

2016-01-08 Thread Michael S. Tsirkin
From: Roman Kagan <rka...@virtuozzo.com> Factor out and expose the function to locate the floppy controller in the system. It will allow to dynamically populate the relevant objects in the ACPI tables. Signed-off-by: Roman Kagan <rka...@virtuozzo.com> Cc: "Michael S. Tsirkin&

Re: [Qemu-block] [PATCH v2 00/14] Make Q35 devices closer to Qemu object model.

2016-06-22 Thread Michael S. Tsirkin
qemu-devel/2016-06/msg05619.html > > > > 10: Named GPIO is used for gsi. The name is "gsi" with alias ICH9_GPIO_GSI. > > > > 12: It's a new patch. The patch introduces function isa_connect_gpio_out. > > > > 13 (previously 12): Use isa_connect_gpio_out instead of isa_init_irq. > > I have queued patches 1-13, as said before I'm not sure of patch 14 and > I want to think about it some more. :) > > Paolo You can add my Reviewed-by: Michael S. Tsirkin <m...@redhat.com> if you wish. I'll comment on 14 separately. -- MST

[Qemu-block] [PULL 30/34] virtio-bus: have callers tolerate new host notifier api

2016-06-24 Thread Michael S. Tsirkin
@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- hw/block/dataplane/virtio-blk.c | 14 +++--- hw/scsi/virtio-scsi-dataplane.c | 20 +++- hw/virtio/vhost.c | 20 3

[Qemu-block] [PULL 34/34] virtio-bus: remove old set_host_notifier callback

2016-06-24 Thread Michael S. Tsirkin
From: Cornelia Huck <cornelia.h...@de.ibm.com> All users have been converted to the new ioevent callbacks. Signed-off-by: Cornelia Huck <cornelia.h...@de.ibm.com> Reviewed-by: Fam Zheng <f...@redhat.com> Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> Reviewed-b

[Qemu-block] [PULL v2 10/45] vring: slim down allocation of VirtQueueElements

2016-02-06 Thread Michael S. Tsirkin
a Huck <cornelia.h...@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- hw/virtio/dataplane/vring.c | 53 ++---

[Qemu-block] [PULL v2 06/45] virtio: move allocation to virtqueue_pop/vring_pop

2016-02-06 Thread Michael S. Tsirkin
h more efficient algorithms. The patch is pretty large, but changes to each device are testable more or less independently. Splitting it would mostly add churn. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Mic

[Qemu-block] [PULL v2 07/45] virtio: introduce qemu_get/put_virtqueue_element

2016-02-06 Thread Michael S. Tsirkin
e.ibm.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- include/hw/virtio/virtio.h | 2 ++ hw/block/virtio-blk.c | 10 +++--- hw/char/virtio-serial-bus.c |

Re: [Qemu-block] [PULL 06/49] virtio: move allocation to virtqueue_pop/vring_pop

2016-02-06 Thread Michael S. Tsirkin
On Fri, Feb 05, 2016 at 12:52:55PM +, Peter Maydell wrote: > On 4 February 2016 at 21:51, Michael S. Tsirkin <m...@redhat.com> wrote: > > From: Paolo Bonzini <pbonz...@redhat.com> > > > > The return code of virtqueue_pop/vring_pop is unused except to check

[Qemu-block] [PULL 10/49] vring: slim down allocation of VirtQueueElements

2016-02-04 Thread Michael S. Tsirkin
a Huck <cornelia.h...@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- hw/virtio/dataplane/vring.c | 53 ++---

[Qemu-block] [PULL 08/49] virtio: introduce virtqueue_alloc_element

2016-02-04 Thread Michael S. Tsirkin
aolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- include/hw/virtio/virtio.h | 9 ++-- hw/virtio/dataplane/vring.c | 3 +- hw/virtio/virtio.c | 110 +++

[Qemu-block] [PULL 07/49] virtio: introduce qemu_get/put_virtqueue_element

2016-02-04 Thread Michael S. Tsirkin
e.ibm.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- include/hw/virtio/virtio.h | 2 ++ hw/block/virtio-blk.c | 10 +++--- hw/char/virtio-serial-bus.c |

[Qemu-block] [PULL 47/49] expose floppy drive geometry and CMOS type

2016-02-04 Thread Michael S. Tsirkin
bjects and thus enable BIOS-less systems to access the floppy drives. Signed-off-by: Roman Kagan <rka...@virtuozzo.com> Signed-off-by: Igor Mammedov <imamm...@redhat.com> Reviewed-by: John Snow <js...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed

[Qemu-block] [PULL 06/49] virtio: move allocation to virtqueue_pop/vring_pop

2016-02-04 Thread Michael S. Tsirkin
h more efficient algorithms. The patch is pretty large, but changes to each device are testable more or less independently. Splitting it would mostly add churn. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Mic

[Qemu-block] [PULL v2 10/23] block-migration: acquire AioContext as necessary

2016-02-25 Thread Michael S. Tsirkin
he BQL (for regular BlockDriverStates) and the AioContext (for dataplane BlockDriverStates). When the block layer is made fully thread safe, aio_context_acquire shall go away altogether. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed

[Qemu-block] [PULL v3 08/21] block-migration: acquire AioContext as necessary

2016-02-25 Thread Michael S. Tsirkin
he BQL (for regular BlockDriverStates) and the AioContext (for dataplane BlockDriverStates). When the block layer is made fully thread safe, aio_context_acquire shall go away altogether. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed

[Qemu-block] [PULL v3 09/21] vring: make vring_enable_notification return void

2016-02-25 Thread Michael S. Tsirkin
From: Paolo Bonzini <pbonz...@redhat.com> Make the API more similar to the regular virtqueue API. This will help when modifying the code to not use vring.c anymore. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed

[Qemu-block] [PULL v2 15/23] virtio-blk: do not use vring in dataplane

2016-02-25 Thread Michael S. Tsirkin
From: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> Reviewed-by: Fam Zheng <f...@redhat.com> Acked-by: Stefan Hajnoczi <s

[Qemu-block] [PULL v2 14/23] virtio-blk: fix "disabled data plane" mode

2016-02-25 Thread Michael S. Tsirkin
virtio-blk.c, we have to move s->dataplane->started inside struct VirtIOBlock. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> Reviewed-by: Cornelia Huck <cornelia.h...

[Qemu-block] [PULL v3 12/21] virtio-blk: fix "disabled data plane" mode

2016-02-25 Thread Michael S. Tsirkin
virtio-blk.c, we have to move s->dataplane->started inside struct VirtIOBlock. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> Reviewed-by: Cornelia Huck <cornelia.h...

[Qemu-block] [PULL v2 11/23] vring: make vring_enable_notification return void

2016-02-25 Thread Michael S. Tsirkin
From: Paolo Bonzini <pbonz...@redhat.com> Make the API more similar to the regular virtqueue API. This will help when modifying the code to not use vring.c anymore. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed

[Qemu-block] [PULL 11/23] vring: make vring_enable_notification return void

2016-02-24 Thread Michael S. Tsirkin
From: Paolo Bonzini <pbonz...@redhat.com> Make the API more similar to the regular virtqueue API. This will help when modifying the code to not use vring.c anymore. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed

[Qemu-block] [PULL 14/23] virtio-blk: fix "disabled data plane" mode

2016-02-24 Thread Michael S. Tsirkin
virtio-blk.c, we have to move s->dataplane->started inside struct VirtIOBlock. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> Reviewed-by: Cornelia Huck <cornelia.h...

[Qemu-block] [PULL 15/23] virtio-blk: do not use vring in dataplane

2016-02-24 Thread Michael S. Tsirkin
From: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> Reviewed-by: Fam Zheng <f...@redhat.com> Acked-by: Stefan Hajnoczi <s

[Qemu-block] [PULL 10/23] block-migration: acquire AioContext as necessary

2016-02-24 Thread Michael S. Tsirkin
he BQL (for regular BlockDriverStates) and the AioContext (for dataplane BlockDriverStates). When the block layer is made fully thread safe, aio_context_acquire shall go away altogether. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed

[Qemu-block] [PULL v2 13/51] fdc: add function to determine drive chs limits

2016-03-15 Thread Michael S. Tsirkin
eturns the maximum values of c, h, s, out of those matching the given floppy drive type. Signed-off-by: Roman Kagan <rka...@virtuozzo.com> Cc: Igor Mammedov <imamm...@redhat.com> Cc: "Michael S. Tsirkin" <m...@redhat.com> Cc: Marcel Apfelbaum <mar...@redhat.com> Cc:

[Qemu-block] [PULL 13/53] fdc: add function to determine drive chs limits

2016-03-11 Thread Michael S. Tsirkin
eturns the maximum values of c, h, s, out of those matching the given floppy drive type. Signed-off-by: Roman Kagan <rka...@virtuozzo.com> Cc: Igor Mammedov <imamm...@redhat.com> Cc: "Michael S. Tsirkin" <m...@redhat.com> Cc: Marcel Apfelbaum <mar...@redhat.com> Cc:

Re: [Qemu-block] [PATCH] xen: piix reuse pci generic class init function

2016-04-06 Thread Michael S. Tsirkin
On Wed, Apr 06, 2016 at 04:56:12PM -0700, Stefano Stabellini wrote: > On Sun, 3 Apr 2016, Michael S. Tsirkin wrote: > > piix3_ide_xen_class_init is identical to piix3_ide_class_init > > except it's buggy as it does not set exit and does not disable > > hotplug prop

[Qemu-block] [PULL 12/15] virtio-blk: use aio handler for data plane

2016-04-08 Thread Michael S. Tsirkin
handlers when dataplane is active. Signed-off-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- include/hw/virtio/virtio-

[Qemu-block] [PULL 14/15] virtio: merge virtio_queue_aio_set_host_notifier_handler with virtio_queue_set_aio

2016-04-08 Thread Michael S. Tsirkin
andler, which in fact was always called with assign=true. Reviewed-by: Cornelia Huck <cornelia.h...@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- includ

[Qemu-block] [PULL 03/15] xen: piix reuse pci generic class init function

2016-04-08 Thread Michael S. Tsirkin
piix3_ide_xen_class_init is identical to piix3_ide_class_init except it's buggy as it does not set exit and does not disable hotplug properly. Switch to the generic one. Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> Signed-off-by: Michael S. Tsirkin <m...@redhat.com>

[Qemu-block] [PULL 09/15] virtio-blk: fix disabled mode

2016-04-08 Thread Michael S. Tsirkin
d-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- include/hw/virtio/virtio-blk.h | 1 + hw/block/dataplane/virtio-blk.c | 7 +++ hw/block/virtio-blk.c | 2 +- 3

Re: [Qemu-block] [Qemu-devel] [PATCH RFC v2 1/2] Add param Error** to msi_init() & modify the callers

2016-03-04 Thread Michael S. Tsirkin
egressions. Adding a comment won't be too much work. How about the below? --> msi_supported -> msi_nonbroken Rename controller flag to make it clearer what it means. Add some documentation as well. Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- diff --git a/include/hw/pci/ms

[Qemu-block] [PULL 14/16] fdc: add function to determine drive chs limits

2016-03-03 Thread Michael S. Tsirkin
eturns the maximum values of c, h, s, out of those matching the given floppy drive type. Signed-off-by: Roman Kagan <rka...@virtuozzo.com> Cc: Igor Mammedov <imamm...@redhat.com> Cc: "Michael S. Tsirkin" <m...@redhat.com> Cc: Marcel Apfelbaum <mar...@redhat.com> Cc:

Re: [Qemu-block] [Qemu-devel] [PATCH RFC v2 1/2] Add param Error** to msi_init() & modify the callers

2016-03-04 Thread Michael S. Tsirkin
On Fri, Mar 04, 2016 at 01:57:05PM +0100, Markus Armbruster wrote: > "Michael S. Tsirkin" <m...@redhat.com> writes: > > > On Fri, Mar 04, 2016 at 09:42:02AM +0100, Markus Armbruster wrote: > >> Plugging an MSI-capable device into an MSI-incapable board wo

Re: [Qemu-block] [Qemu-devel] [PATCH RFC v2 1/2] Add param Error** to msi_init() & modify the callers

2016-03-03 Thread Michael S. Tsirkin
On Thu, Mar 03, 2016 at 12:12:27PM +0200, Marcel Apfelbaum wrote: > >>+int msi_init(struct PCIDevice *dev, uint8_t offset, unsigned int > >>nr_vectors, > >>+ bool msi64bit, bool msi_per_vector_mask, Error **errp) > >> { > >> unsigned int vectors_order; > >>-uint16_t flags; >

Re: [Qemu-block] [Qemu-devel] [PATCH RFC v2 1/2] Add param Error** to msi_init() & modify the callers

2016-03-03 Thread Michael S. Tsirkin
On Thu, Mar 03, 2016 at 01:19:09PM +0200, Marcel Apfelbaum wrote: > On 03/03/2016 12:45 PM, Michael S. Tsirkin wrote: > >On Thu, Mar 03, 2016 at 12:12:27PM +0200, Marcel Apfelbaum wrote: > >>>>+int msi_init(struct PCIDevice *dev, uint8_t offset, unsign

Re: [Qemu-block] [Qemu-devel] [PATCH RFC v2 1/2] Add param Error** to msi_init() & modify the callers

2016-03-03 Thread Michael S. Tsirkin
On Thu, Mar 03, 2016 at 04:03:16PM +0100, Markus Armbruster wrote: > "Michael S. Tsirkin" <m...@redhat.com> writes: > > > On Thu, Mar 03, 2016 at 01:19:09PM +0200, Marcel Apfelbaum wrote: > >> On 03/03/2016 12:45 PM, Michael S. Tsirkin wrote: > >> >

[Qemu-block] [PATCH] xen: piix reuse pci generic class init function

2016-04-03 Thread Michael S. Tsirkin
piix3_ide_xen_class_init is identical to piix3_ide_class_init except it's buggy as it does not set exit and does not disable hotplug properly. Switch to the generic one. Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> Signed-off-by: Michael S. Tsirkin <m...@redhat.com>

[Qemu-block] [PATCH] virtio-blk: assert on starting/stopping

2016-04-03 Thread Michael S. Tsirkin
Reentrancy cannot happen while the BQL is being held, so we should never enter this condition. Cc: Christian Borntraeger <borntrae...@de.ibm.com> Cc: Cornelia Huck <cornelia.h...@de.ibm.com> Cc: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Michael S. Tsirki

Re: [Qemu-block] [PATCH] virtio-blk: assert on starting/stopping

2016-04-04 Thread Michael S. Tsirkin
On Mon, Apr 04, 2016 at 10:25:34AM +0200, Cornelia Huck wrote: > On Mon, 4 Apr 2016 10:19:42 +0200 > Paolo Bonzini wrote: > > > On 04/04/2016 10:10, Cornelia Huck wrote: > > > > This will be fixed by Cornelia's rework, and is an example of why I > > > > think patch 1/9 is a

[Qemu-block] [PATCH 2/2] virtio-blk: use aio handler for data plane

2016-03-29 Thread Michael S. Tsirkin
, and disable regular handlers when dataplane is active. Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- include/hw/virtio/virtio-blk.h | 2 ++ hw/block/dataplane/virtio-blk.c | 13 + hw/block/virtio-blk.c | 28 ++-- 3 files changed, 33 inse

Re: [Qemu-block] [PATCH 2/2] virtio-blk: use aio handler for data plane

2016-03-29 Thread Michael S. Tsirkin
On Tue, Mar 29, 2016 at 03:56:18PM +0200, Paolo Bonzini wrote: > > > On 29/03/2016 15:42, Michael S. Tsirkin wrote: > > @@ -262,6 +274,7 @@ void virtio_blk_data_plane_stop(VirtIOBlockDataPlane *s) > > > > /* Stop notifications

Re: [Qemu-block] [PATCH 2/2] virtio-blk: use aio handler for data plane

2016-03-29 Thread Michael S. Tsirkin
On Tue, Mar 29, 2016 at 04:05:46PM +0200, Paolo Bonzini wrote: > > > On 29/03/2016 15:42, Michael S. Tsirkin wrote: > > +if (s->dataplane) { > > +/* Some guests kick before setting VIRTIO_CONFIG_S_DRIVER_OK so > > start > > +

Re: [Qemu-block] [PATCH v2 for-2.6 1/5] iohandler: Introduce iohandler_get_aio_context

2016-04-22 Thread Michael S. Tsirkin
On Fri, Apr 22, 2016 at 06:56:00PM +0800, Fam Zheng wrote: > Signed-off-by: Fam Zheng <f...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> > --- > include/qemu/main-loop.h | 1 + > iohandler.c | 6 ++ > stubs/Makefile.objs

Re: [Qemu-block] [PATCH v2 for-2.6 0/5] block: Fix assertion failure at mirror exit

2016-04-22 Thread Michael S. Tsirkin
On Fri, Apr 22, 2016 at 06:55:59PM +0800, Fam Zheng wrote: > v2: Go along the is_external appraoch. [Kevin] > > I tested this series survives the "snapshot + commit" loop reproducer with > both > bonnie++ and RHEL installation in the guest. > > This supersedes the "virtio: Register host

Re: [Qemu-block] [PATCH v3 for-2.6 0/5] block: Fix assertion failure at mirror exit

2016-04-22 Thread Michael S. Tsirkin
"virtio: Register host notifier handler as external" patch > from yesterday. > > The bug was initially reported by Matthew Schumacher as LaunchPad Bug 1570134, > and nicely bisected by Max Reitz. See patch 2 for the analysis. Patches 1-3: Reviewed-by: Michael S. Tsirkin <m..

Re: [Qemu-block] [PATCH v2 for-2.6 2/5] event-notifier: Add "is_external" parameter

2016-04-22 Thread Michael S. Tsirkin
t;f...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redhat.com> > --- > hw/usb/ccid-card-emulated.c | 2 +- > hw/virtio/virtio.c| 8 > include/qemu/event_notifier.h | 4 +++- > stubs/set-fd-handler.c| 10 ++ > target-i386/hyper

Re: [Qemu-block] [PATCH v2 for-2.6 3/5] virtio: Mark host notifiers as external

2016-04-22 Thread Michael S. Tsirkin
On Fri, Apr 22, 2016 at 06:56:02PM +0800, Fam Zheng wrote: > The effect of this change is the block layer drained section can work, > for example when mirror job is being completed. > > Signed-off-by: Fam Zheng <f...@redhat.com> Reviewed-by: Michael S. Tsirkin <m...@redh

Re: [Qemu-block] [PATCH V2 RFC] fixup! virtio: convert to use DMA api

2016-04-28 Thread Michael S. Tsirkin
On Wed, Apr 27, 2016 at 08:16:57PM +0100, David Woodhouse wrote: > On Wed, 2016-04-27 at 21:17 +0300, Michael S. Tsirkin wrote: > > > > > Because it's a dirty hack in the *wrong* place. > > > > No one came up with a better one so far :( > > Seriously? >

Re: [Qemu-block] [PATCH V2 RFC] fixup! virtio: convert to use DMA api

2016-04-27 Thread Michael S. Tsirkin
On Wed, Apr 27, 2016 at 04:15:35PM +0100, David Woodhouse wrote: > On Wed, 2016-04-27 at 18:05 +0300, Michael S. Tsirkin wrote: > > > > I really don't get it. > > > > There's exactly one device that works now and needs the work-around and > > so that we ne

Re: [Qemu-block] [PATCH V2 RFC] fixup! virtio: convert to use DMA api

2016-04-27 Thread Michael S. Tsirkin
On Wed, Apr 27, 2016 at 07:43:07AM -0700, Andy Lutomirski wrote: > On Wed, Apr 27, 2016 at 7:38 AM, Michael S. Tsirkin <m...@redhat.com> wrote: > > On Wed, Apr 27, 2016 at 07:31:43AM -0700, Andy Lutomirski wrote: > >> On Wed, Apr 27, 2016 at 7:23 AM, Joerg Roedel

Re: [Qemu-block] [PATCH V2 RFC] fixup! virtio: convert to use DMA api

2016-04-27 Thread Michael S. Tsirkin
On Wed, Apr 27, 2016 at 01:18:21PM +0100, David Woodhouse wrote: > > > > On some systems, including Xen and any system with a physical device > > > that speaks virtio behind a physical IOMMU, we must use the DMA API > > > for virtio DMA to work at all. > > >  > > > Add a feature bit to detect

Re: [Qemu-block] [PATCH V2 RFC] fixup! virtio: convert to use DMA api

2016-04-27 Thread Michael S. Tsirkin
On Wed, Apr 27, 2016 at 04:58:51PM +0200, Joerg Roedel wrote: > On Wed, Apr 27, 2016 at 05:54:57PM +0300, Michael S. Tsirkin wrote: > > Point is, QEMU is not the only virtio implementation out there. > > So we can't know no virtio implementations have an IOMMU as long as >

Re: [Qemu-block] [PATCH V2 RFC] fixup! virtio: convert to use DMA api

2016-04-27 Thread Michael S. Tsirkin
On Wed, Apr 27, 2016 at 04:56:32PM +0200, Joerg Roedel wrote: > On Wed, Apr 27, 2016 at 05:34:30PM +0300, Michael S. Tsirkin wrote: > > On Wed, Apr 27, 2016 at 04:23:32PM +0200, Joerg Roedel wrote: > > > QEMU can choose to bypass IOMMU for one device and not the other. >

  1   2   3   4   5   6   7   8   >