[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
From: Shmulik Ladkani shmulik.ladk...@ravellosystems.com Few devices have their specialized 'config_write' methods which simply call 'pci_default_write_config' followed by a 'msix_write_config' or 'msi_write_config' calls, using exact same arguments. This is unnecessary as

[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] NVMe volatile write cache fixes

2015-06-17 Thread Christoph Hellwig
Thank Eric. Kevin, do you want me to resend the series with these cover letter/cc fixes or is it okay this time?

Re: [Qemu-block] RFC cdrom in own thread?

2015-06-17 Thread Kevin Wolf
Am 16.06.2015 um 17:34 hat Stefan Hajnoczi geschrieben: On Tue, Jun 16, 2015 at 3:44 PM, Peter Lieven p...@kamp.de wrote: I wonder how difficult it would be to have the IDE CDROM run in its own thread? We usually have ISOs mounted on an NFS share as CDROM. Problem: If the NFS Share goes

Re: [Qemu-block] [PATCH v2 3/6] opts: do not print separator before first item in qemu_opts_print

2015-06-17 Thread Kevin Wolf
Am 16.06.2015 um 14:49 hat Kővágó, Zoltán geschrieben: This allows to print options in a format that the user would actually write it on the command line (foo=bar,baz=asd,etc=def), without prepending a spurious comma at the beginning of the list. Note that if you really want to produce a valid

[Qemu-block] [PATCH v3 1/2] block-backend: Introduce blk_drain()

2015-06-17 Thread Alexander Yarygin
This patch introduces the blk_drain() function which allows to replace blk_drain_all() when only one BlockDriverState needs to be drained. Cc: Christian Borntraeger borntrae...@de.ibm.com Cc: Cornelia Huck cornelia.h...@de.ibm.com Cc: Kevin Wolf kw...@redhat.com Cc: Paolo Bonzini

[Qemu-block] [PATCH v3 2/2] virtio-blk: Use blk_drain() to drain IO requests

2015-06-17 Thread Alexander Yarygin
Each call of the virtio_blk_reset() function calls blk_drain_all(), which works for all existing BlockDriverStates, while draining only one is needed. This patch replaces blk_drain_all() by blk_drain() in virtio_blk_reset(). virtio_blk_data_plane_stop() should be called after draining because it