qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 9/9] osdep: Move memalign-related functions to their own head


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 9/9] osdep: Move memalign-related functions to their own header
Date: Tue, 1 Mar 2022 00:58:08 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1

On 26/2/22 19:07, Peter Maydell wrote:
Move the various memalign-related functions out of osdep.h and into
their own header, which we include only where they are used.
While we're doing this, add some brief documentation comments.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
  include/qemu/memalign.h        | 61 ++++++++++++++++++++++++++++++++++
  include/qemu/osdep.h           | 18 ----------
  block/blkverify.c              |  1 +
  block/block-copy.c             |  1 +
  block/commit.c                 |  1 +
  block/crypto.c                 |  1 +
  block/dmg.c                    |  1 +
  block/export/fuse.c            |  1 +
  block/file-posix.c             |  1 +
  block/io.c                     |  1 +
  block/mirror.c                 |  1 +
  block/nvme.c                   |  1 +
  block/parallels-ext.c          |  1 +
  block/parallels.c              |  1 +
  block/qcow.c                   |  1 +
  block/qcow2-cache.c            |  1 +
  block/qcow2-cluster.c          |  1 +
  block/qcow2-refcount.c         |  1 +
  block/qcow2-snapshot.c         |  1 +
  block/qcow2.c                  |  1 +
  block/qed-l2-cache.c           |  1 +
  block/qed-table.c              |  1 +
  block/qed.c                    |  1 +
  block/quorum.c                 |  1 +
  block/raw-format.c             |  1 +
  block/vdi.c                    |  1 +
  block/vhdx-log.c               |  1 +
  block/vhdx.c                   |  1 +
  block/vmdk.c                   |  1 +
  block/vpc.c                    |  1 +
  block/win32-aio.c              |  1 +
  hw/block/dataplane/xen-block.c |  1 +
  hw/block/fdc.c                 |  1 +
  hw/ide/core.c                  |  1 +
  hw/ppc/spapr.c                 |  1 +
  hw/ppc/spapr_softmmu.c         |  1 +
  hw/scsi/scsi-disk.c            |  1 +
  hw/tpm/tpm_ppi.c               |  2 +-
  nbd/server.c                   |  1 +
  net/l2tpv3.c                   |  2 +-
  plugins/loader.c               |  1 +
  qemu-img.c                     |  1 +
  qemu-io-cmds.c                 |  1 +
  qom/object.c                   |  1 +
  softmmu/physmem.c              |  1 +
  target/i386/hvf/hvf.c          |  1 +
  target/i386/kvm/kvm.c          |  1 +
  tcg/region.c                   |  1 +
  tests/bench/atomic_add-bench.c |  1 +
  tests/bench/qht-bench.c        |  1 +
  util/atomic64.c                |  1 +
  util/memalign.c                |  1 +
  util/qht.c                     |  1 +
  53 files changed, 112 insertions(+), 20 deletions(-)
  create mode 100644 include/qemu/memalign.h

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]