qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>,
	qemu-devel@nongnu.org, qemu-block@nongnu.org
Cc: armbru@redhat.com, mreitz@redhat.com, kwolf@redhat.com,
	den@openvz.org, nshirokovskiy@virtuozzo.com
Subject: Re: [Qemu-devel] [PATCH v4 0/2] block latency histogram
Date: Fri, 9 Mar 2018 10:37:00 -0600	[thread overview]
Message-ID: <6ed49ea1-af9d-bfb5-12b5-97c1f1bb6f22@redhat.com> (raw)
In-Reply-To: <8654ed9f-14bd-4e36-0df0-5eff5fccdb7a@virtuozzo.com>

On 03/09/2018 10:31 AM, Vladimir Sementsov-Ogievskiy wrote:
> 09.03.2018 18:40, Eric Blake wrote:
>> On 03/09/2018 09:33 AM, Vladimir Sementsov-Ogievskiy wrote:
>>> v4:
>>>
>>> Move block_latency_histogram_set from block/accounting.c to
>>> blockdev.c, as it uses qapi type uint64List and this fact breaks
>>> build.
>>
>> Was the cross file motion necessary, or could you just fix the 
>> #includes according to the recent qapi header refactoring?
>>
> 
> Looks like it's not as simple..
> 
> /tmp/qemu-test/src/include/block/accounting.h:30:10: fatal error: 
> qapi-types.h: No such file or directory
>   #include "qapi-types.h
> 
> 
> what to do now? Looks like qapi-types are not generated for some builds. 
> So, this version (v4) should take place.

top-level qapi-types.h was replaced by lots of qapi/qapi*.h modular 
headers.  Unfortunately, incremental builds don't delete the stale 
qapi-types.h that was left in tree from the point prior to the qapi 
header refactoring.

To get uint64List, use qapi/qapi-builtin-types.h.  To get any type 
defined in a qapi/MODULE.json file, use qapi/qapi-MODULE-types.h.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

  reply	other threads:[~2018-03-09 16:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-09 15:33 [Qemu-devel] [PATCH v4 0/2] block latency histogram Vladimir Sementsov-Ogievskiy
2018-03-09 15:33 ` [Qemu-devel] [PATCH v4 1/2] block/accounting: introduce " Vladimir Sementsov-Ogievskiy
2018-03-09 15:33 ` [Qemu-devel] [PATCH v4 2/2] qapi: add block latency histogram interface Vladimir Sementsov-Ogievskiy
2018-03-09 15:40 ` [Qemu-devel] [PATCH v4 0/2] block latency histogram Eric Blake
2018-03-09 16:31   ` Vladimir Sementsov-Ogievskiy
2018-03-09 16:37     ` Eric Blake [this message]
2018-03-09 16:47       ` Vladimir Sementsov-Ogievskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6ed49ea1-af9d-bfb5-12b5-97c1f1bb6f22@redhat.com \
    --to=eblake@redhat.com \
    --cc=armbru@redhat.com \
    --cc=den@openvz.org \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=nshirokovskiy@virtuozzo.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=vsementsov@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).