qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Markus Armbruster <armbru@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3 19/29] Include qemu/queue.h slightly less
Date: Fri, 9 Aug 2019 12:05:17 +0200	[thread overview]
Message-ID: <47188c22-a0c4-a300-c4a2-4c9d9f95c306@redhat.com> (raw)
In-Reply-To: <20190809064645.22656-20-armbru@redhat.com>

On 8/9/19 8:46 AM, Markus Armbruster wrote:
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
>  hw/scsi/vhost-scsi.c        | 1 -
>  hw/vfio/ap.c                | 1 -
>  include/exec/cpu-defs.h     | 1 -
>  include/hw/xen/xen_common.h | 1 -
>  include/net/can_emu.h       | 1 +
>  include/net/filter.h        | 1 +
>  include/qemu/range.h        | 2 --
>  include/qom/object.h        | 1 -
>  include/sysemu/cryptodev.h  | 1 +
>  include/sysemu/rng.h        | 1 +
>  include/sysemu/sysemu.h     | 1 -
>  linux-user/elfload.c        | 1 +
>  linux-user/main.c           | 1 +
>  linux-user/qemu.h           | 1 -
>  linux-user/syscall.c        | 1 +
>  nbd/client.c                | 1 +
>  nbd/nbd-internal.h          | 1 -
>  nbd/server.c                | 1 +
>  qapi/qapi-dealloc-visitor.c | 1 -
>  target/i386/whpx-all.c      | 1 -
>  ui/kbd-state.c              | 1 -
>  util/vfio-helpers.c         | 1 -
>  22 files changed, 9 insertions(+), 14 deletions(-)
> 
> diff --git a/hw/scsi/vhost-scsi.c b/hw/scsi/vhost-scsi.c
> index 343ca8be7a..83c9d83459 100644
> --- a/hw/scsi/vhost-scsi.c
> +++ b/hw/scsi/vhost-scsi.c
> @@ -20,7 +20,6 @@
>  #include "qapi/error.h"
>  #include "qemu/error-report.h"
>  #include "qemu/module.h"
> -#include "qemu/queue.h"
>  #include "monitor/monitor.h"
>  #include "migration/blocker.h"
>  #include "hw/virtio/vhost-scsi.h"
> diff --git a/hw/vfio/ap.c b/hw/vfio/ap.c
> index d1c86abb76..2bfc402037 100644
> --- a/hw/vfio/ap.c
> +++ b/hw/vfio/ap.c
> @@ -20,7 +20,6 @@
>  #include "hw/s390x/ap-device.h"
>  #include "qemu/error-report.h"
>  #include "qemu/module.h"
> -#include "qemu/queue.h"
>  #include "qemu/option.h"
>  #include "qemu/config-file.h"
>  #include "cpu.h"
> diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h
> index 9bc713a70b..57a9a4ffd9 100644
> --- a/include/exec/cpu-defs.h
> +++ b/include/exec/cpu-defs.h
> @@ -25,7 +25,6 @@
>  
>  #include "qemu/host-utils.h"
>  #include "qemu/thread.h"
> -#include "qemu/queue.h"
>  #ifdef CONFIG_TCG
>  #include "tcg-target.h"
>  #endif
> diff --git a/include/hw/xen/xen_common.h b/include/hw/xen/xen_common.h
> index 1e3ec4e16e..82e56339dd 100644
> --- a/include/hw/xen/xen_common.h
> +++ b/include/hw/xen/xen_common.h
> @@ -16,7 +16,6 @@
>  
>  #include "hw/xen/xen.h"
>  #include "hw/pci/pci.h"
> -#include "qemu/queue.h"
>  #include "hw/xen/trace.h"
>  
>  extern xc_interface *xen_xc;
> diff --git a/include/net/can_emu.h b/include/net/can_emu.h
> index 1da4d01b95..d4fc51b57d 100644
> --- a/include/net/can_emu.h
> +++ b/include/net/can_emu.h
> @@ -28,6 +28,7 @@
>  #ifndef NET_CAN_EMU_H
>  #define NET_CAN_EMU_H
>  
> +#include "qemu/queue.h"
>  #include "qom/object.h"
>  
>  /* NOTE: the following two structures is copied from <linux/can.h>. */
> diff --git a/include/net/filter.h b/include/net/filter.h
> index 9bc6fa3cc6..e8fb6259db 100644
> --- a/include/net/filter.h
> +++ b/include/net/filter.h
> @@ -10,6 +10,7 @@
>  #define QEMU_NET_FILTER_H
>  
>  #include "qapi/qapi-types-net.h"
> +#include "qemu/queue.h"
>  #include "qom/object.h"
>  #include "net/queue.h"
>  
> diff --git a/include/qemu/range.h b/include/qemu/range.h
> index 71b8b215c6..f62b363e0d 100644
> --- a/include/qemu/range.h
> +++ b/include/qemu/range.h
> @@ -20,8 +20,6 @@
>  #ifndef QEMU_RANGE_H
>  #define QEMU_RANGE_H
>  
> -#include "qemu/queue.h"
> -
>  /*
>   * Operations on 64 bit address ranges.
>   * Notes:
> diff --git a/include/qom/object.h b/include/qom/object.h
> index 7bb82a7f56..128d00c77f 100644
> --- a/include/qom/object.h
> +++ b/include/qom/object.h
> @@ -15,7 +15,6 @@
>  #define QEMU_OBJECT_H
>  
>  #include "qapi/qapi-builtin-types.h"
> -#include "qemu/queue.h"
>  #include "qemu/module.h"
>  
>  struct TypeImpl;
> diff --git a/include/sysemu/cryptodev.h b/include/sysemu/cryptodev.h
> index 92bbb79131..a9afb7e5b5 100644
> --- a/include/sysemu/cryptodev.h
> +++ b/include/sysemu/cryptodev.h
> @@ -23,6 +23,7 @@
>  #ifndef CRYPTODEV_H
>  #define CRYPTODEV_H
>  
> +#include "qemu/queue.h"
>  #include "qom/object.h"
>  
>  /**
> diff --git a/include/sysemu/rng.h b/include/sysemu/rng.h
> index 2a02f47771..9b22c156f8 100644
> --- a/include/sysemu/rng.h
> +++ b/include/sysemu/rng.h
> @@ -13,6 +13,7 @@
>  #ifndef QEMU_RNG_H
>  #define QEMU_RNG_H
>  
> +#include "qemu/queue.h"
>  #include "qom/object.h"
>  
>  #define TYPE_RNG_BACKEND "rng-backend"
> diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
> index 984c439ac9..77f5df59b0 100644
> --- a/include/sysemu/sysemu.h
> +++ b/include/sysemu/sysemu.h
> @@ -3,7 +3,6 @@
>  /* Misc. things related to the system emulator.  */
>  
>  #include "qapi/qapi-types-run-state.h"
> -#include "qemu/queue.h"
>  #include "qemu/timer.h"
>  #include "qemu/notify.h"
>  #include "qemu/main-loop.h"
> diff --git a/linux-user/elfload.c b/linux-user/elfload.c
> index bd43c4817d..3365e192eb 100644
> --- a/linux-user/elfload.c
> +++ b/linux-user/elfload.c
> @@ -8,6 +8,7 @@
>  #include "qemu.h"
>  #include "disas/disas.h"
>  #include "qemu/path.h"
> +#include "qemu/queue.h"
>  #include "qemu/guest-random.h"
>  
>  #ifdef _ARCH_PPC64
> diff --git a/linux-user/main.c b/linux-user/main.c
> index 8ffc525195..47917bbb20 100644
> --- a/linux-user/main.c
> +++ b/linux-user/main.c
> @@ -28,6 +28,7 @@
>  #include "qapi/error.h"
>  #include "qemu.h"
>  #include "qemu/path.h"
> +#include "qemu/queue.h"
>  #include "qemu/config-file.h"
>  #include "qemu/cutils.h"
>  #include "qemu/error-report.h"
> diff --git a/linux-user/qemu.h b/linux-user/qemu.h
> index aac0334627..f6f5fe5fbb 100644
> --- a/linux-user/qemu.h
> +++ b/linux-user/qemu.h
> @@ -16,7 +16,6 @@
>  #include "syscall_defs.h"
>  #include "target_syscall.h"
>  #include "exec/gdbstub.h"
> -#include "qemu/queue.h"
>  
>  /* This is the size of the host kernel's sigset_t, needed where we make
>   * direct system calls that take a sigset_t pointer and a size.
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 8367cb138d..8b41a03901 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -20,6 +20,7 @@
>  #include "qemu/osdep.h"
>  #include "qemu/cutils.h"
>  #include "qemu/path.h"
> +#include "qemu/queue.h"
>  #include <elf.h>
>  #include <endian.h>
>  #include <grp.h>
> diff --git a/nbd/client.c b/nbd/client.c
> index 4de30630c7..d554ae353d 100644
> --- a/nbd/client.c
> +++ b/nbd/client.c
> @@ -19,6 +19,7 @@
>  
>  #include "qemu/osdep.h"
>  #include "qapi/error.h"
> +#include "qemu/queue.h"
>  #include "trace.h"
>  #include "nbd-internal.h"
>  #include "qemu/cutils.h"
> diff --git a/nbd/nbd-internal.h b/nbd/nbd-internal.h
> index 049f83df77..ec3d2e2ebc 100644
> --- a/nbd/nbd-internal.h
> +++ b/nbd/nbd-internal.h
> @@ -28,7 +28,6 @@
>  #endif
>  
>  #include "qemu/bswap.h"
> -#include "qemu/queue.h"
>  #include "qemu/main-loop.h"
>  
>  /* This is all part of the "official" NBD API.
> diff --git a/nbd/server.c b/nbd/server.c
> index 10faedcfc5..dbd2ff8555 100644
> --- a/nbd/server.c
> +++ b/nbd/server.c
> @@ -19,6 +19,7 @@
>  
>  #include "qemu/osdep.h"
>  #include "qapi/error.h"
> +#include "qemu/queue.h"
>  #include "trace.h"
>  #include "nbd-internal.h"
>  #include "qemu/units.h"
> diff --git a/qapi/qapi-dealloc-visitor.c b/qapi/qapi-dealloc-visitor.c
> index 89ccd905ec..d192724b13 100644
> --- a/qapi/qapi-dealloc-visitor.c
> +++ b/qapi/qapi-dealloc-visitor.c
> @@ -15,7 +15,6 @@
>  #include "qemu/osdep.h"
>  #include "qapi/dealloc-visitor.h"
>  #include "qapi/qmp/qnull.h"
> -#include "qemu/queue.h"
>  #include "qapi/visitor-impl.h"
>  
>  struct QapiDeallocVisitor
> diff --git a/target/i386/whpx-all.c b/target/i386/whpx-all.c
> index ed95105eae..2cf66f7804 100644
> --- a/target/i386/whpx-all.c
> +++ b/target/i386/whpx-all.c
> @@ -20,7 +20,6 @@
>  #include "qemu/main-loop.h"
>  #include "hw/boards.h"
>  #include "qemu/error-report.h"
> -#include "qemu/queue.h"
>  #include "qapi/error.h"
>  #include "migration/blocker.h"
>  #include "whp-dispatch.h"
> diff --git a/ui/kbd-state.c b/ui/kbd-state.c
> index 1668d17dda..62d42a7a22 100644
> --- a/ui/kbd-state.c
> +++ b/ui/kbd-state.c
> @@ -5,7 +5,6 @@
>   */
>  #include "qemu/osdep.h"
>  #include "qemu/bitmap.h"
> -#include "qemu/queue.h"
>  #include "ui/console.h"
>  #include "ui/input.h"
>  #include "ui/kbd-state.h"
> diff --git a/util/vfio-helpers.c b/util/vfio-helpers.c
> index 2367fe8f7f..26ffd0d6b5 100644
> --- a/util/vfio-helpers.c
> +++ b/util/vfio-helpers.c
> @@ -17,7 +17,6 @@
>  #include "exec/ramlist.h"
>  #include "exec/cpu-common.h"
>  #include "trace.h"
> -#include "qemu/queue.h"
>  #include "qemu/error-report.h"
>  #include "standard-headers/linux/pci_regs.h"
>  #include "qemu/event_notifier.h"
> 

A lot less, nice.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>


  reply	other threads:[~2019-08-09 10:06 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-09  6:46 [Qemu-devel] [PATCH v3 00/29] Tame a few "touch this, recompile the world" headers Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 01/29] include: Make headers more self-contained Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 02/29] Include generated QAPI headers less Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 03/29] qapi: Split error.json off common.json Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 04/29] memory: Fix type of IOMMUMemoryRegionClass member @parent_class Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 05/29] queue: Drop superfluous #include qemu/atomic.h Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 06/29] trace: Eliminate use of TARGET_FMT_plx Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 07/29] trace: Do not include qom/cpu.h into generated trace.h Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 08/29] Include sysemu/reset.h a lot less Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 09/29] Include migration/qemu-file-types.h " Markus Armbruster
2019-08-09  9:58   ` Philippe Mathieu-Daudé
2019-08-09 11:48     ` Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 10/29] ide: Include hw/ide/internal a bit less outside hw/ide/ Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 11/29] typedefs: Separate incomplete types and function types Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 12/29] Include hw/irq.h a lot less Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 13/29] Clean up inclusion of exec/cpu-common.h Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 14/29] migration: Move the VMStateDescription typedef to typedefs.h Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 15/29] Include migration/vmstate.h less Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 16/29] Include exec/memory.h slightly less Markus Armbruster
2019-08-09 10:03   ` Philippe Mathieu-Daudé
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 17/29] Include qom/object.h " Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 18/29] Include hw/hw.h exactly where needed Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 19/29] Include qemu/queue.h slightly less Markus Armbruster
2019-08-09 10:05   ` Philippe Mathieu-Daudé [this message]
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 20/29] Include qemu/main-loop.h less Markus Armbruster
2019-08-09  9:42   ` Philippe Mathieu-Daudé
2019-08-09 10:10     ` Philippe Mathieu-Daudé
2019-08-09 10:29     ` Philippe Mathieu-Daudé
2019-08-09 10:36       ` Philippe Mathieu-Daudé
2019-08-09 11:55     ` Markus Armbruster
2019-08-09 12:29       ` Philippe Mathieu-Daudé
2019-08-09 16:00       ` Alex Bennée
2019-08-10 19:34         ` Markus Armbruster
2019-08-12 12:49           ` Philippe Mathieu-Daudé
2019-08-15 12:55           ` [Qemu-devel] Running docker cross-tests with SELinux (was: Re: [PATCH v3 20/29] Include qemu/main-loop.h less) Philippe Mathieu-Daudé
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 21/29] Include hw/qdev-properties.h less Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 22/29] Include hw/boards.h a bit less Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 23/29] numa: Don't include hw/boards.h into sysemu/numa.h Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 24/29] Include sysemu/hostmem.h less Markus Armbruster
2019-08-09 10:39   ` Philippe Mathieu-Daudé
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 25/29] numa: Move remaining NUMA declarations from sysemu.h to numa.h Markus Armbruster
2019-08-09 10:53   ` Philippe Mathieu-Daudé
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 26/29] Clean up inclusion of sysemu/sysemu.h Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 27/29] Include sysemu/sysemu.h a lot less Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 28/29] sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h Markus Armbruster
2019-08-09  6:46 ` [Qemu-devel] [PATCH v3 29/29] sysemu: Split sysemu/runstate.h off sysemu/sysemu.h Markus Armbruster
2019-08-09 10:40 ` [Qemu-devel] [PATCH v3 00/29] Tame a few "touch this, recompile the world" headers no-reply
2019-08-09 16:12 ` Philippe Mathieu-Daudé
2019-08-10 17:01   ` Markus Armbruster

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=47188c22-a0c4-a300-c4a2-4c9d9f95c306@redhat.com \
    --to=philmd@redhat.com \
    --cc=armbru@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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).