Re: [Qemu-block] [Qemu-devel] [PATCH v3 00/17] block: local qiov helper

2019-02-12 Thread Stefan Hajnoczi
On Thu, Feb 07, 2019 at 01:24:28PM +0300, Vladimir Sementsov-Ogievskiy wrote: > Hi all! > > Here is a new simple helper for a very often patter > around qemu_iovec_init_external, when we need simple qiov with only > one iov, initialized from external buffer. > > v3: > 01-02: tiny improvements,

Re: [Qemu-block] [RFC PATCH] coroutines: generate wrapper code

2019-02-12 Thread Stefan Hajnoczi
On Tue, Feb 12, 2019 at 12:58:40PM +0100, Kevin Wolf wrote: > Am 12.02.2019 um 04:22 hat Stefan Hajnoczi geschrieben: > > On Mon, Feb 11, 2019 at 09:38:37AM +, Vladimir Sementsov-Ogievskiy > > wrote: > > > 11.02.2019 6:42, Stefan Hajnoczi wrote: > > > > On Fri, Feb 08, 2019 at 05:11:22PM

Re: [Qemu-block] [Qemu-devel] Combining -loadvm and -snapshot

2019-02-12 Thread Markus Armbruster
Cc'ing the QCOW2 folks. Drew DeVault writes: > I recently ran into an issue where I found I couldn't combine the > -loadvm and -snapshot flags, nor any conceivable combination of > alternate approaches like loadvm via the monitor. Independently, both > options work as expected, but together I

Re: [Qemu-block] [PATCH v2] blockdev: acquire aio_context for bitmap add/remove

2019-02-12 Thread Eric Blake
On 2/12/19 3:37 PM, John Snow wrote: > > > On 2/12/19 3:16 PM, Eric Blake wrote: >> On 2/12/19 2:07 PM, John Snow wrote: >>> When bitmaps are persistent, they may incur a disk read or write when >>> bitmaps >>> are added or removed. For configurations like virtio-dataplane, failing to >>>

Re: [Qemu-block] [PATCH v2] blockdev: acquire aio_context for bitmap add/remove

2019-02-12 Thread John Snow
On 2/12/19 3:16 PM, Eric Blake wrote: > On 2/12/19 2:07 PM, John Snow wrote: >> When bitmaps are persistent, they may incur a disk read or write when bitmaps >> are added or removed. For configurations like virtio-dataplane, failing to >> acquire this lock will abort QEMU when disk IO occurs.

Re: [Qemu-block] [PATCH v3 3/3] blkdebug: Add latency injection rule type

2019-02-12 Thread Marc Olson
On 1/11/19 7:00 AM, Max Reitz wrote: On 12.11.18 08:06, Marc Olson wrote: Add a new rule type for blkdebug that instead of returning an error, can inject latency to an IO. Signed-off-by: Marc Olson --- block/blkdebug.c | 79 +++---

Re: [Qemu-block] [PATCH v2] blockdev: acquire aio_context for bitmap add/remove

2019-02-12 Thread Eric Blake
On 2/12/19 2:07 PM, John Snow wrote: > When bitmaps are persistent, they may incur a disk read or write when bitmaps > are added or removed. For configurations like virtio-dataplane, failing to > acquire this lock will abort QEMU when disk IO occurs. > > We used to acquire aio_context as part of

[Qemu-block] [PATCH v2] blockdev: acquire aio_context for bitmap add/remove

2019-02-12 Thread John Snow
When bitmaps are persistent, they may incur a disk read or write when bitmaps are added or removed. For configurations like virtio-dataplane, failing to acquire this lock will abort QEMU when disk IO occurs. We used to acquire aio_context as part of the bitmap lookup, so re-introduce the lock for

Re: [Qemu-block] [PATCH] blockdev: acquire aio_context for bitmap add/remove

2019-02-12 Thread Eric Blake
On 2/6/19 11:02 AM, John Snow wrote: > When bitmaps are persistent, they may incur a disk read or write when bitmaps > are added or removed. For configurations like virtio-dataplane, failing to > acquire this lock will abort QEMU when disk IO occurs. > > We used to acquire aio_context as part of

Re: [Qemu-block] [PATCH] blockdev: acquire aio_context for bitmap add/remove

2019-02-12 Thread John Snow
On 2/12/19 2:36 PM, Eric Blake wrote: > On 2/6/19 11:02 AM, John Snow wrote: >> When bitmaps are persistent, they may incur a disk read or write when bitmaps >> are added or removed. For configurations like virtio-dataplane, failing to >> acquire this lock will abort QEMU when disk IO occurs.

Re: [Qemu-block] [PATCH 5/5] block/dirty-bitmaps: unify qmp_locked and user_locked calls

2019-02-12 Thread John Snow
On 2/12/19 2:27 PM, Eric Blake wrote: > On 2/11/19 7:02 PM, John Snow wrote: >> These mean the same thing now. Unify them and rename the merged call >> bdrv_dirty_bitmap_busy to indicate semantically what we are describing, >> as well as help disambiguate from the various _locked and _unlocked

Re: [Qemu-block] [PATCH 5/5] block/dirty-bitmaps: unify qmp_locked and user_locked calls

2019-02-12 Thread Eric Blake
On 2/11/19 7:02 PM, John Snow wrote: > These mean the same thing now. Unify them and rename the merged call > bdrv_dirty_bitmap_busy to indicate semantically what we are describing, > as well as help disambiguate from the various _locked and _unlocked > versions of bitmap helpers that refer to

Re: [Qemu-block] [PATCH 3/5] block/dirty-bitmap: change semantics of enabled predicate

2019-02-12 Thread John Snow
On 2/12/19 1:58 PM, Eric Blake wrote: > On 2/11/19 7:02 PM, John Snow wrote: >> Currently, enabled means something like "the status of the bitmap >> is ACTIVE." After this patch, it should mean exclusively: "This >> bitmap is recording guest writes, and is allowed to do so." >> >> In many

Re: [Qemu-block] [PATCH 3/5] block/dirty-bitmap: change semantics of enabled predicate

2019-02-12 Thread Eric Blake
On 2/11/19 7:02 PM, John Snow wrote: > Currently, enabled means something like "the status of the bitmap > is ACTIVE." After this patch, it should mean exclusively: "This > bitmap is recording guest writes, and is allowed to do so." > > In many places, this is how this predicate was already used.

Re: [Qemu-block] [PATCH 4/5] block/dirty-bitmap: explicitly lock bitmaps with successors

2019-02-12 Thread Eric Blake
On 2/11/19 7:02 PM, John Snow wrote: > Instead of implying a locked status, make it explicit. > Now, bitmaps in use by migration, NBD or backup operations > are all treated the same way with the same code paths. > --- > block/dirty-bitmap.c | 9 + > 1 file changed, 5 insertions(+), 4

Re: [Qemu-block] [PATCH 2/5] block/dirty-bitmaps: rename frozen predicate helper

2019-02-12 Thread John Snow
On 2/12/19 1:26 PM, Eric Blake wrote: > On 2/11/19 7:02 PM, John Snow wrote: >> "Frozen" was a good description a long time ago, but it isn't adequate now. >> Rename the frozen predicate to has_successor to make the semantics of the >> predicate more clear to outside callers. >> >> In the

Re: [Qemu-block] [PATCH 2/5] block/dirty-bitmaps: rename frozen predicate helper

2019-02-12 Thread Eric Blake
On 2/11/19 7:02 PM, John Snow wrote: > "Frozen" was a good description a long time ago, but it isn't adequate now. > Rename the frozen predicate to has_successor to make the semantics of the > predicate more clear to outside callers. > > In the process, remove some calls to frozen() that no

Re: [Qemu-block] [PATCH 1/5] block/dirty-bitmap: add recording and busy properties

2019-02-12 Thread John Snow
On 2/12/19 1:17 PM, Eric Blake wrote: > On 2/11/19 7:02 PM, John Snow wrote: >> The current API allows us to report a single status, which we've defined as: >> >> Frozen: has a successor, treated as qmp_locked, may or may not be enabled. >> Locked: no successor, qmp_locked. may or may not be

Re: [Qemu-block] [PATCH 1/5] block/dirty-bitmap: add recording and busy properties

2019-02-12 Thread Eric Blake
On 2/11/19 7:02 PM, John Snow wrote: > The current API allows us to report a single status, which we've defined as: > > Frozen: has a successor, treated as qmp_locked, may or may not be enabled. > Locked: no successor, qmp_locked. may or may not be enabled. > Disabled: Not frozen or locked,

Re: [Qemu-block] [PATCH 09/13] block: Add 'runtime_opts' and 'mutable_opts' fields to BlockDriver

2019-02-12 Thread Kevin Wolf
Am 17.01.2019 um 16:34 hat Alberto Garcia geschrieben: > This patch adds two new fields to BlockDriver: > >- runtime_opts: list of runtime options for a particular block > driver. We'll use this list later to detect what options are > missing when we try to reopen a block device. >

Re: [Qemu-block] [PATCH 0/5] dirty-bitmaps: deprecate @status field

2019-02-12 Thread Eric Blake
On 2/11/19 7:02 PM, John Snow wrote: > The current internal meanings of "locked", "user_locked", > "qmp_locked", "frozen", "enabled", and "disabled" are all > a little muddled. > > Deprecate the @status field in favor of two new booleans > that carry very specific meanings. Then, rename and

Re: [Qemu-block] [RFC PULL 0/6] Block sgarzare test patches

2019-02-12 Thread Stefano Garzarella
On Tue, Feb 12, 2019 at 6:04 PM Peter Maydell wrote: > > On Tue, 12 Feb 2019 at 14:12, Stefan Hajnoczi wrote: > > > > Block pull request for testing > > > > Peter hit a virtio-blk-test failure caused by the new DISCARD/WRITE_ZEROES

Re: [Qemu-block] [PATCH 0/5] dirty-bitmaps: deprecate @status field

2019-02-12 Thread John Snow
On 2/12/19 1:12 PM, Eric Blake wrote: > On 2/11/19 7:02 PM, John Snow wrote: >> The current internal meanings of "locked", "user_locked", >> "qmp_locked", "frozen", "enabled", and "disabled" are all >> a little muddled. >> >> Deprecate the @status field in favor of two new booleans >> that

Re: [Qemu-block] [PATCH v3 00/17] block: local qiov helper

2019-02-12 Thread Vladimir Sementsov-Ogievskiy
On 11.02.2019 6:04, Stefan Hajnoczi wrote: > On Thu, Feb 07, 2019 at 01:24:28PM +0300, Vladimir Sementsov-Ogievskiy wrote: >> v3: > > Will you send a v4 based on Eric's comments or do you want to keep the > series as it is? > I don't really want to resend, and I don't think that open-coding

Re: [Qemu-block] [PATCH 08/13] block: Allow changing the backing file on reopen

2019-02-12 Thread Kevin Wolf
Am 17.01.2019 um 16:33 hat Alberto Garcia geschrieben: > This patch allows the user to change the backing file of an image that > is being reopened. Here's what it does: > > - In bdrv_reopen_prepare(): check that the value of 'backing' points >to an existing node or is null. If it points to

Re: [Qemu-block] [RFC PULL 0/6] Block sgarzare test patches

2019-02-12 Thread Peter Maydell
On Tue, 12 Feb 2019 at 14:12, Stefan Hajnoczi wrote: > > Block pull request for testing > > Peter hit a virtio-blk-test failure caused by the new DISCARD/WRITE_ZEROES > patches that Stefano and I have been unable to reproduce. Here

Re: [Qemu-block] [PATCH 06/13] block: Handle child references in bdrv_reopen_queue()

2019-02-12 Thread Kevin Wolf
Am 12.02.2019 um 17:28 hat Kevin Wolf geschrieben: > > -child_key_dot = g_strdup_printf("%s.", child->name); > > -qdict_extract_subqdict(explicit_options, NULL, child_key_dot); > > -qdict_extract_subqdict(options, _child_options, child_key_dot); > > -

Re: [Qemu-block] [PATCH 07/13] block: Allow omitting the 'backing' option in certain cases

2019-02-12 Thread Kevin Wolf
Am 17.01.2019 um 16:33 hat Alberto Garcia geschrieben: > Of all options of type BlockdevRef used to specify children in > BlockdevOptions, 'backing' is the only one that is optional. > > For "x-blockdev-reopen" we want that if an option is omitted then it > must be reset to its default value. The

Re: [Qemu-block] [PATCH 06/13] block: Handle child references in bdrv_reopen_queue()

2019-02-12 Thread Kevin Wolf
Am 17.01.2019 um 16:33 hat Alberto Garcia geschrieben: > Children in QMP are specified with BlockdevRef / BlockdevRefOrNull, > which can contain a set of child options, a child reference, or > NULL. In optional attributes like "backing" it can also be missing. > > Only the first case (set of

Re: [Qemu-block] [PATCH 04/13] block: Freeze the backing chain for the duration of the stream job

2019-02-12 Thread Alberto Garcia
On Tue 12 Feb 2019 04:15:58 PM CET, Kevin Wolf wrote: > Am 17.01.2019 um 16:33 hat Alberto Garcia geschrieben: >> Signed-off-by: Alberto Garcia >> --- >> block/stream.c | 16 >> 1 file changed, 16 insertions(+) >> >> diff --git a/block/stream.c b/block/stream.c >> index

Re: [Qemu-block] [PATCH 04/13] block: Freeze the backing chain for the duration of the stream job

2019-02-12 Thread Kevin Wolf
Am 17.01.2019 um 16:33 hat Alberto Garcia geschrieben: > Signed-off-by: Alberto Garcia > --- > block/stream.c | 16 > 1 file changed, 16 insertions(+) > > diff --git a/block/stream.c b/block/stream.c > index 7a49ac0992..39a2e10892 100644 > --- a/block/stream.c > +++

Re: [Qemu-block] [PATCH 02/13] block: Freeze the backing chain for the duration of the commit job

2019-02-12 Thread Kevin Wolf
Am 17.01.2019 um 16:33 hat Alberto Garcia geschrieben: > Signed-off-by: Alberto Garcia > --- > block/commit.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/block/commit.c b/block/commit.c > index 53148e610b..8824d135e0 100644 > --- a/block/commit.c > +++ b/block/commit.c > @@

Re: [Qemu-block] [PATCH 01/13] block: Allow freezing BdrvChild links

2019-02-12 Thread Kevin Wolf
Am 17.01.2019 um 16:33 hat Alberto Garcia geschrieben: > Our permission system is useful to define what operations are allowed > on a certain block node and includes things like BLK_PERM_WRITE or > BLK_PERM_RESIZE among others. > > One of the permissions is BLK_PERM_GRAPH_MOD which allows

[Qemu-block] [RFC PULL 3/6] virtio-blk: add "discard" and "write-zeroes" properties

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella In order to avoid migration issues, we enable DISCARD and WRITE_ZEROES features only for machine type >= 4.0 As discussed with Michael S. Tsirkin and Stefan Hajnoczi on the list [1], DISCARD operation should not have security implications (eg. page cache attacks), so we

[Qemu-block] [RFC PULL 0/6] Block sgarzare test patches

2019-02-12 Thread Stefan Hajnoczi
The following changes since commit 22c5f446514a2a4bb0dbe1fea26713da92fc85fa: Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190211' into staging (2019-02-11 17:04:57 +) are available in the Git repository at: git://github.com/stefanha/qemu.git

[Qemu-block] [RFC PULL 5/6] tests/virtio-blk: change assert on data_size in virtio_blk_request()

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella The size of data in the virtio_blk_request must be a multiple of 512 bytes for IN and OUT requests, or a multiple of the size of struct virtio_blk_discard_write_zeroes for DISCARD and WRITE_ZEROES requests. Reviewed-by: Michael S. Tsirkin Reviewed-by: Stefan Hajnoczi

[Qemu-block] [RFC PULL 1/6] virtio-blk: add acct_failed param to virtio_blk_handle_rw_error()

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella We add acct_failed param in order to use virtio_blk_handle_rw_error() also when is not required to call block_acct_failed(). (eg. a discard operation is failed) Reviewed-by: Michael S. Tsirkin Reviewed-by: Stefan Hajnoczi Signed-off-by: Stefano Garzarella Acked-by:

[Qemu-block] [RFC PULL 2/6] virtio-blk: add host_features field in VirtIOBlock

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella Since configurable features for virtio-blk are growing, this patch adds host_features field in the struct VirtIOBlock. (as in virtio-net) In this way, we can avoid to add new fields for new properties and we can directly set VIRTIO_BLK_F* flags in the host_features. We

[Qemu-block] [RFC PULL 4/6] virtio-blk: add DISCARD and WRITE_ZEROES features

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella This patch adds the support of DISCARD and WRITE_ZEROES commands, that have been introduced in the virtio-blk protocol to have better performance when using SSD backend. We support only one segment per request since multiple segments are not widely used and there are no

Re: [Qemu-block] [PATCH v4 0/6] virtio-blk: add DISCARD and WRITE_ZEROES features

2019-02-12 Thread Michael S. Tsirkin
On Fri, Feb 08, 2019 at 02:49:44PM +0100, Stefano Garzarella wrote: > This series adds the support of DISCARD and WRITE_ZEROES commands > and extends the virtio-blk-test to test WRITE_ZEROES command when > the feature is enabled. Looking at how this wasn't merged yet, maybe it's not too late.

[Qemu-block] [RFC PULL 6/6] tests/virtio-blk: add test for WRITE_ZEROES command

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella If the WRITE_ZEROES feature is enabled, we check this command in the test_basic(). Reviewed-by: Michael S. Tsirkin Reviewed-by: Stefan Hajnoczi Acked-by: Thomas Huth Signed-off-by: Stefano Garzarella Acked-by: Pankaj Gupta Message-id:

[Qemu-block] [RFC PULL 3/6] virtio-blk: add "discard" and "write-zeroes" properties

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella In order to avoid migration issues, we enable DISCARD and WRITE_ZEROES features only for machine type >= 4.0 As discussed with Michael S. Tsirkin and Stefan Hajnoczi on the list [1], DISCARD operation should not have security implications (eg. page cache attacks), so we

[Qemu-block] [RFC PULL 4/6] virtio-blk: add DISCARD and WRITE_ZEROES features

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella This patch adds the support of DISCARD and WRITE_ZEROES commands, that have been introduced in the virtio-blk protocol to have better performance when using SSD backend. We support only one segment per request since multiple segments are not widely used and there are no

[Qemu-block] [RFC PULL 5/6] tests/virtio-blk: change assert on data_size in virtio_blk_request()

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella The size of data in the virtio_blk_request must be a multiple of 512 bytes for IN and OUT requests, or a multiple of the size of struct virtio_blk_discard_write_zeroes for DISCARD and WRITE_ZEROES requests. Reviewed-by: Michael S. Tsirkin Reviewed-by: Stefan Hajnoczi

[Qemu-block] [RFC PULL 2/6] virtio-blk: add host_features field in VirtIOBlock

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella Since configurable features for virtio-blk are growing, this patch adds host_features field in the struct VirtIOBlock. (as in virtio-net) In this way, we can avoid to add new fields for new properties and we can directly set VIRTIO_BLK_F* flags in the host_features. We

[Qemu-block] [RFC PULL 1/6] virtio-blk: add acct_failed param to virtio_blk_handle_rw_error()

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella We add acct_failed param in order to use virtio_blk_handle_rw_error() also when is not required to call block_acct_failed(). (eg. a discard operation is failed) Reviewed-by: Michael S. Tsirkin Reviewed-by: Stefan Hajnoczi Signed-off-by: Stefano Garzarella Acked-by:

[Qemu-block] [RFC PULL 6/6] tests/virtio-blk: add test for WRITE_ZEROES command

2019-02-12 Thread Stefan Hajnoczi
From: Stefano Garzarella If the WRITE_ZEROES feature is enabled, we check this command in the test_basic(). Reviewed-by: Michael S. Tsirkin Reviewed-by: Stefan Hajnoczi Acked-by: Thomas Huth Signed-off-by: Stefano Garzarella Acked-by: Pankaj Gupta Message-id:

[Qemu-block] [RFC PULL 0/6] Block pull request for testing

2019-02-12 Thread Stefan Hajnoczi
Peter hit a virtio-blk-test failure caused by the new DISCARD/WRITE_ZEROES patches that Stefano and I have been unable to reproduce. Here are the patches so they can be tested again in Peter's environment. Stefano Garzarella (6): virtio-blk: add acct_failed param to

Re: [Qemu-block] [PULL 0/3] Block patches

2019-02-12 Thread Peter Maydell
On Tue, 12 Feb 2019 at 04:01, Stefan Hajnoczi wrote: > > The following changes since commit 22c5f446514a2a4bb0dbe1fea26713da92fc85fa: > > Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190211' into > staging (2019-02-11 17:04:57 +) > > are available in the Git repository at: > >

[Qemu-block] [PATCH] Discard old bitmap directories in QCOW2 image

2019-02-12 Thread Andrey Shinkevich
Clean QCOW2 image from bitmap obsolete directory when a new one is allocated and stored. It slows down the image growth a little bit. The flag QCOW2_DISCARD_ALWAYS allows a call to raw_co_pdiscard() that does the actual cleaning of the image on disk. With the flag QCOW2_DISCARD_OTHER, a reference

Re: [Qemu-block] [RFC PATCH] coroutines: generate wrapper code

2019-02-12 Thread Kevin Wolf
Am 12.02.2019 um 04:22 hat Stefan Hajnoczi geschrieben: > On Mon, Feb 11, 2019 at 09:38:37AM +, Vladimir Sementsov-Ogievskiy wrote: > > 11.02.2019 6:42, Stefan Hajnoczi wrote: > > > On Fri, Feb 08, 2019 at 05:11:22PM +0300, Vladimir Sementsov-Ogievskiy > > > wrote: > > >> Hi all! > > >> > >

Re: [Qemu-block] [PATCH RFC 1/1] Stream block job involves copy-on-read filter

2019-02-12 Thread Alberto Garcia
On Mon 11 Feb 2019 05:58:05 PM CET, Vladimir Sementsov-Ogievskiy wrote: >>> The problem is in the concept of "base" node. The code written in >>> manner that base is not changed during block job. However, job don't >>> own base and there is no guarantee that it will not change during >>> the job.

Re: [Qemu-block] [RFC PATCH] coroutines: generate wrapper code

2019-02-12 Thread Stefan Hajnoczi
On Tue, Feb 12, 2019 at 10:03:19AM +, Vladimir Sementsov-Ogievskiy wrote: > 12.02.2019 6:22, Stefan Hajnoczi wrote: > > On Mon, Feb 11, 2019 at 09:38:37AM +, Vladimir Sementsov-Ogievskiy > > wrote: > >> 11.02.2019 6:42, Stefan Hajnoczi wrote: > >>> On Fri, Feb 08, 2019 at 05:11:22PM

Re: [Qemu-block] [PATCH 1/4] io/channel: add qio_channel_get_attached_aio_context()

2019-02-12 Thread Daniel P . Berrangé
On Mon, Feb 11, 2019 at 03:55:58PM +0300, Vladimir Sementsov-Ogievskiy wrote: > Expose attached aio context. It will be used in nbd code, to > understand, in which aio context negotiation should be done. I'm not especially objecting to the idea of adding the API to the QIOChannel class, but I'm

Re: [Qemu-block] [RFC PATCH] coroutines: generate wrapper code

2019-02-12 Thread Vladimir Sementsov-Ogievskiy
12.02.2019 6:22, Stefan Hajnoczi wrote: > On Mon, Feb 11, 2019 at 09:38:37AM +, Vladimir Sementsov-Ogievskiy wrote: >> 11.02.2019 6:42, Stefan Hajnoczi wrote: >>> On Fri, Feb 08, 2019 at 05:11:22PM +0300, Vladimir Sementsov-Ogievskiy >>> wrote: Hi all! We have a very frequent

Re: [Qemu-block] [PATCH v3 1/2] qapi: move to QOM path for x-block-latency-histogram-set

2019-02-12 Thread Vladimir Sementsov-Ogievskiy
12.02.2019 12:07, Kevin Wolf wrote: > Am 11.02.2019 um 19:30 hat Vladimir Sementsov-Ogievskiy geschrieben: >> 11.02.2019 20:54, Kevin Wolf wrote: >>> Am 21.12.2018 um 17:53 hat Vladimir Sementsov-Ogievskiy geschrieben: Move to way of device selecting, however fall back to device name if

Re: [Qemu-block] [PULL 0/9] Block patches

2019-02-12 Thread Peter Maydell
On Tue, 12 Feb 2019 at 03:51, Stefan Hajnoczi wrote: > > On Mon, Feb 11, 2019 at 11:42:14AM +, Peter Maydell wrote: > > Hi; this fails to pass "make check" (all platforms): > > > > MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} > >

Re: [Qemu-block] [PATCH v3 1/2] qapi: move to QOM path for x-block-latency-histogram-set

2019-02-12 Thread Kevin Wolf
Am 11.02.2019 um 19:30 hat Vladimir Sementsov-Ogievskiy geschrieben: > 11.02.2019 20:54, Kevin Wolf wrote: > > Am 21.12.2018 um 17:53 hat Vladimir Sementsov-Ogievskiy geschrieben: > >> Move to way of device selecting, however fall back to device name if > >> path is not found. > >> > >>

Re: [Qemu-block] [PULL 0/9] Block patches

2019-02-12 Thread Stefano Garzarella
On Tue, Feb 12, 2019 at 11:51:18AM +0800, Stefan Hajnoczi wrote: > On Mon, Feb 11, 2019 at 11:42:14AM +, Peter Maydell wrote: > > > > Hi; this fails to pass "make check" (all platforms): > > > > MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} > >