mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 21:50:33 +00:00
bswap: Include missing 'qemu/bswap.h' header
All these files indirectly include the "qemu/bswap.h" header. Make this inclusion explicit to avoid build errors when refactoring unrelated headers. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20260109164742.58041-4-philmd@linaro.org>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include "qapi/qapi-visit-audio.h"
|
||||
#include "qapi/qapi-commands-audio.h"
|
||||
#include "qobject/qdict.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/log.h"
|
||||
#include "qemu/module.h"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "block/block_int.h"
|
||||
#include "qobject/qdict.h"
|
||||
#include "qobject/qstring.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/cutils.h"
|
||||
#include "qemu/module.h"
|
||||
#include "qemu/option.h"
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include <sys/eventfd.h>
|
||||
|
||||
#include "qemu/bswap.h"
|
||||
#include "qapi/error.h"
|
||||
#include "block/export.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
* later. See the COPYING file in the top-level directory.
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "block/block.h"
|
||||
#include "subprojects/libvhost-user/libvhost-user.h" /* only for the type definitions */
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "virtio-blk-handler.h"
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "block/dirty-bitmap.h"
|
||||
#include "parallels.h"
|
||||
#include "crypto/hash.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/uuid.h"
|
||||
#include "qemu/memalign.h"
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#define BLOCK_QCOW2_H
|
||||
|
||||
#include "crypto/block.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/coroutine.h"
|
||||
#include "qemu/units.h"
|
||||
#include "block/block_int.h"
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <sys/un.h>
|
||||
#include "qemu/xattr.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/cutils.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/option.h"
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
here. */
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "hw/scsi/scsi.h"
|
||||
|
||||
static void lba_to_msf(uint8_t *buf, int lba)
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "system/block-backend.h"
|
||||
#include "qapi/qapi-types-block.h"
|
||||
#include "hw/block/block.h"
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/log.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "hw/core/irq.h"
|
||||
#include "migration/vmstate.h"
|
||||
#include "net/can_emu.h"
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/nvram/xlnx-efuse.h"
|
||||
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/log.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/ctype.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/module.h"
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/units.h"
|
||||
#include "qemu/cutils.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "hw/core/irq.h"
|
||||
#include "hw/core/registerfields.h"
|
||||
#include "system/block-backend.h"
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "hw/ssi/ssi.h"
|
||||
#include "migration/vmstate.h"
|
||||
#include "hw/sd/sd.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/crc-ccitt.h"
|
||||
#include "qom/object.h"
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "net/net.h"
|
||||
#include "clients.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/option.h"
|
||||
#include "qemu/sockets.h"
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qga-qapi-commands.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "pr-helper.h"
|
||||
#include "qapi/qapi-events-block.h"
|
||||
#include "qemu/module.h"
|
||||
#include "qemu/bswap.h"
|
||||
|
||||
#include <scsi/sg.h>
|
||||
#include "qom/object.h"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/crc32c.h"
|
||||
#include <zlib.h> /* for crc32 */
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include <glib/gstdio.h>
|
||||
#include "qemu/bitmap.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "acpi-utils.h"
|
||||
#include "boot-sector.h"
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "libqtest.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "aspeed-hace-utils.h"
|
||||
|
||||
/*
|
||||
|
||||
@@ -59,6 +59,7 @@
|
||||
#include <glib/gstdio.h>
|
||||
#include "hw/firmware/smbios.h"
|
||||
#include "qemu/bitmap.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "acpi-utils.h"
|
||||
#include "boot-sector.h"
|
||||
#include "tpm-emu.h"
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "qemu/iov.h"
|
||||
#include "qemu/module.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "libqos-malloc.h"
|
||||
#include "qgraph.h"
|
||||
#include "e1000e.h"
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "virtio-9p-client.h"
|
||||
|
||||
#define QVIRTIO_9P_TIMEOUT_US (10 * 1000 * 1000)
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "qapi/error.h"
|
||||
#include "qobject/qjson.h"
|
||||
#include "qobject/qlist.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/module.h"
|
||||
#include "qemu/option.h"
|
||||
#include "qemu/range.h"
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "qobject/qdict.h"
|
||||
#include "qobject/qnum.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/iov.h"
|
||||
|
||||
/* Name of the emc device. */
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "backends/tpm/tpm_ioctl.h"
|
||||
#include "io/channel-socket.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qobject/qlist.h"
|
||||
#include "qobject/qstring.h"
|
||||
#include "tpm-emu.h"
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "scsi/constants.h"
|
||||
#include "block/ufs.h"
|
||||
#include "qemu/bitmap.h"
|
||||
#include "qemu/bswap.h"
|
||||
|
||||
#define DWORD_BYTE 4
|
||||
/* Test images sizes in Bytes */
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/bitmap.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/uuid.h"
|
||||
#include "hw/acpi/acpi-defs.h"
|
||||
#include "boot-sector.h"
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/hbitmap.h"
|
||||
#include "qemu/bitmap.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "block/block.h"
|
||||
|
||||
#define LOG_BITS_PER_LONG (BITS_PER_LONG == 32 ? 5 : 6)
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include "qemu/bitmap.h"
|
||||
#include "qemu/bswap.h"
|
||||
#include "qemu/atomic.h"
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user