[PATCH v2 0/5] coroutine: Clean up includes

Markus Armbruster posted 5 patches 1 year, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221220154944.3611845-1-armbru@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, John Snow <jsnow@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, Aarushi Mehta <mehta.aaru20@gmail.com>, Julia Suvorova <jusual@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Stefano Garzarella <sgarzare@redhat.com>, Stefan Weil <sw@weilnetz.de>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Greg Kurz <groug@kaod.org>, Christian Schoenebeck <qemu_oss@crudebyte.com>, "Michael S. Tsirkin" <mst@redhat.com>, Fam Zheng <fam@euphon.net>, Juan Quintela <quintela@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Eric Blake <eblake@redhat.com>, Zhang Chen <chen.zhang@intel.com>, Li Zhijian <lizhijian@fujitsu.com>, Jason Wang <jasowang@redhat.com>, Markus Armbruster <armbru@redhat.com>, Michael Roth <michael.roth@amd.com>, Gerd Hoffmann <kraxel@redhat.com>
There is a newer version of this series
crypto/block-luks-priv.h      |   1 -
hw/9pfs/coth.h                |   2 +-
include/block/aio.h           |   9 +-
include/block/aio_task.h      |   2 -
include/block/block-common.h  |   1 -
include/block/graph-lock.h    |   2 -
include/block/raw-aio.h       |   1 -
include/io/channel.h          |   2 +-
include/monitor/hmp.h         |   1 -
include/qemu/coroutine-core.h | 154 ++++++++++++++++++++++++++++++++++
include/qemu/coroutine.h      | 113 ++-----------------------
include/qemu/lockable.h       |   2 +-
include/qemu/osdep.h          |  16 ++++
include/qemu/progress_meter.h |   2 +-
include/qemu/typedefs.h       |   1 -
include/scsi/pr-manager.h     |   1 -
nbd/nbd-internal.h            |   1 -
block.c                       |   2 +-
block/block-copy.c            |   2 +-
block/io_uring.c              |   2 +-
block/linux-aio.c             |   2 +-
block/mirror.c                |   2 +-
block/progress_meter.c        |   2 +
block/vdi.c                   |   2 +-
blockjob.c                    |   1 -
chardev/char.c                |   2 +-
crypto/block-luks.c           |   1 -
hw/9pfs/codir.c               |   1 -
hw/9pfs/cofile.c              |   1 -
hw/9pfs/cofs.c                |   1 -
hw/9pfs/coth.c                |   2 +-
hw/9pfs/coxattr.c             |   1 -
hw/block/virtio-blk.c         |   2 +-
migration/rdma.c              |   2 +-
nbd/client-connection.c       |   1 +
net/colo-compare.c            |   2 +-
qapi/qmp-dispatch.c           |   2 +-
tests/unit/test-aio.c         |   2 +-
tests/unit/test-coroutine.c   |   2 -
tests/unit/test-vmstate.c     |   1 -
ui/console.c                  |   1 +
util/async.c                  |   4 +-
util/qemu-coroutine-lock.c    |   1 -
util/qemu-coroutine-sleep.c   |   1 -
util/qemu-coroutine.c         |   1 -
util/thread-pool.c            |   2 +-
46 files changed, 205 insertions(+), 154 deletions(-)
create mode 100644 include/qemu/coroutine-core.h
[PATCH v2 0/5] coroutine: Clean up includes
Posted by Markus Armbruster 1 year, 4 months ago
v2:
* Rebased
* PATCH 4: Rewritten [Paolo]
* PATCH 5: New

Markus Armbruster (5):
  coroutine: Clean up superfluous inclusion of qemu/coroutine.h
  coroutine: Move coroutine_fn to qemu/osdep.h, trim includes
  coroutine: Clean up superfluous inclusion of qemu/lockable.h
  coroutine: Split qemu/coroutine-core.h off qemu/coroutine.h
  coroutine: Use Coroutine typedef name instead of structure tag

 crypto/block-luks-priv.h      |   1 -
 hw/9pfs/coth.h                |   2 +-
 include/block/aio.h           |   9 +-
 include/block/aio_task.h      |   2 -
 include/block/block-common.h  |   1 -
 include/block/graph-lock.h    |   2 -
 include/block/raw-aio.h       |   1 -
 include/io/channel.h          |   2 +-
 include/monitor/hmp.h         |   1 -
 include/qemu/coroutine-core.h | 154 ++++++++++++++++++++++++++++++++++
 include/qemu/coroutine.h      | 113 ++-----------------------
 include/qemu/lockable.h       |   2 +-
 include/qemu/osdep.h          |  16 ++++
 include/qemu/progress_meter.h |   2 +-
 include/qemu/typedefs.h       |   1 -
 include/scsi/pr-manager.h     |   1 -
 nbd/nbd-internal.h            |   1 -
 block.c                       |   2 +-
 block/block-copy.c            |   2 +-
 block/io_uring.c              |   2 +-
 block/linux-aio.c             |   2 +-
 block/mirror.c                |   2 +-
 block/progress_meter.c        |   2 +
 block/vdi.c                   |   2 +-
 blockjob.c                    |   1 -
 chardev/char.c                |   2 +-
 crypto/block-luks.c           |   1 -
 hw/9pfs/codir.c               |   1 -
 hw/9pfs/cofile.c              |   1 -
 hw/9pfs/cofs.c                |   1 -
 hw/9pfs/coth.c                |   2 +-
 hw/9pfs/coxattr.c             |   1 -
 hw/block/virtio-blk.c         |   2 +-
 migration/rdma.c              |   2 +-
 nbd/client-connection.c       |   1 +
 net/colo-compare.c            |   2 +-
 qapi/qmp-dispatch.c           |   2 +-
 tests/unit/test-aio.c         |   2 +-
 tests/unit/test-coroutine.c   |   2 -
 tests/unit/test-vmstate.c     |   1 -
 ui/console.c                  |   1 +
 util/async.c                  |   4 +-
 util/qemu-coroutine-lock.c    |   1 -
 util/qemu-coroutine-sleep.c   |   1 -
 util/qemu-coroutine.c         |   1 -
 util/thread-pool.c            |   2 +-
 46 files changed, 205 insertions(+), 154 deletions(-)
 create mode 100644 include/qemu/coroutine-core.h

-- 
2.38.1