mirror of
https://github.com/qemu/qemu.git
synced 2024-11-23 10:53:37 +08:00
Drop superfluous includes of qapi-types.h and test-qapi-types.h
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20180201111846.21846-4-armbru@redhat.com>
This commit is contained in:
parent
8f0a3716e4
commit
522ece32d2
@ -26,7 +26,6 @@
|
||||
#include "hw/boards.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/visitor.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qapi-visit.h"
|
||||
#include "qemu/config-file.h"
|
||||
#include "qom/object_interfaces.h"
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "hw/boards.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/visitor.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qapi-visit.h"
|
||||
#include "qemu/config-file.h"
|
||||
#include "qom/object_interfaces.h"
|
||||
|
1
hmp.h
1
hmp.h
@ -16,7 +16,6 @@
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qemu/readline.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qapi/qmp/qdict.h"
|
||||
|
||||
void hmp_info_name(Monitor *mon, const QDict *qdict);
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "block/dirty-bitmap.h"
|
||||
#include "block/blockjob.h"
|
||||
#include "qapi/qmp/qobject.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qemu/hbitmap.h"
|
||||
|
||||
/* block.c */
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "qemu/coroutine.h"
|
||||
#include "qemu/stats64.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qemu/hbitmap.h"
|
||||
#include "block/snapshot.h"
|
||||
#include "qemu/main-loop.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#ifndef BLOCK_QAPI_H
|
||||
#define BLOCK_QAPI_H
|
||||
|
||||
#include "qapi-types.h"
|
||||
#include "block/block.h"
|
||||
#include "block/snapshot.h"
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#define ACPI_DEV_INTERFACE_H
|
||||
|
||||
#include "qom/object.h"
|
||||
#include "qapi-types.h"
|
||||
#include "hw/boards.h"
|
||||
|
||||
/* These values are part of guest ABI, and can not be changed */
|
||||
|
@ -14,7 +14,6 @@
|
||||
#define QEMU_FAILOVER_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qapi-types.h"
|
||||
|
||||
void failover_init_state(void);
|
||||
FailoverStatus failover_set_state(FailoverStatus old_state,
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "qemu/option.h"
|
||||
#include "net/queue.h"
|
||||
#include "migration/vmstate.h"
|
||||
#include "qapi-types.h"
|
||||
|
||||
#define MAC_FMT "%02X:%02X:%02X:%02X:%02X:%02X"
|
||||
#define MAC_ARG(x) ((uint8_t *)(x))[0], ((uint8_t *)(x))[1], \
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/qmp/qdict.h"
|
||||
#include "qemu/option.h"
|
||||
#include "qapi-types.h"
|
||||
|
||||
#ifdef CONFIG_SLIRP
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#define QEMU_NET_TAP_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qapi-types.h"
|
||||
#include "standard-headers/linux/virtio_net.h"
|
||||
|
||||
int tap_enable(NetClientState *nc);
|
||||
|
@ -14,7 +14,6 @@
|
||||
#ifndef QLIT_H
|
||||
#define QLIT_H
|
||||
|
||||
#include "qapi-types.h"
|
||||
#include "qobject.h"
|
||||
|
||||
typedef struct QLitDictEntry QLitDictEntry;
|
||||
|
@ -38,7 +38,6 @@
|
||||
|
||||
#include "sysemu/dump-arch.h"
|
||||
#include "sysemu/memory_mapping.h"
|
||||
#include "qapi-types.h"
|
||||
|
||||
typedef struct QEMU_PACKED MakedumpfileHeader {
|
||||
char signature[16]; /* = "makedumpfile" */
|
||||
|
@ -12,7 +12,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "qapi-types.h"
|
||||
#include "sysemu.h"
|
||||
|
||||
/* replay clock kinds */
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include "qemu/option.h"
|
||||
#include "qemu/queue.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qemu/notify.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/bitmap.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
#define QEMU_TPM_H
|
||||
|
||||
#include "qom/object.h"
|
||||
#include "qapi-types.h"
|
||||
|
||||
int tpm_config_parse(QemuOptsList *opts_list, const char *optarg);
|
||||
int tpm_init(void);
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
#include "qom/object.h"
|
||||
#include "qemu-common.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qemu/option.h"
|
||||
#include "sysemu/tpm.h"
|
||||
#include "qapi/error.h"
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include "qom/object.h"
|
||||
#include "qapi/qmp/qdict.h"
|
||||
#include "qemu/notify.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qemu/thread.h"
|
||||
#include "qapi-types.h"
|
||||
#include "exec/cpu-common.h"
|
||||
#include "qemu/coroutine_int.h"
|
||||
#include "hw/qdev.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#define QEMU_NET_CLIENTS_H
|
||||
|
||||
#include "net/net.h"
|
||||
#include "qapi-types.h"
|
||||
|
||||
int net_init_dump(const Netdev *netdev, const char *name,
|
||||
NetClientState *peer, Error **errp);
|
||||
|
@ -27,7 +27,6 @@
|
||||
#define NET_TAP_INT_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qapi-types.h"
|
||||
|
||||
int tap_open(char *ifname, int ifname_size, int *vnet_hdr,
|
||||
int vnet_hdr_required, int mq_required, Error **errp);
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "qapi/qmp/dispatch.h"
|
||||
#include "qapi/qmp/json-parser.h"
|
||||
#include "qapi/qmp/qjson.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qapi/qmp/qerror.h"
|
||||
|
||||
static QDict *qmp_dispatch_check_obj(const QObject *request, Error **errp)
|
||||
|
@ -11,7 +11,6 @@
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu-common.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qemu/notify.h"
|
||||
#include "ui/input.h"
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "qapi/qmp/qerror.h"
|
||||
#include "qapi/qmp/types.h"
|
||||
|
||||
#include "qapi-types.h"
|
||||
#include "qapi-visit.h"
|
||||
#include "qapi/visitor.h"
|
||||
#include "qom/qom-qobject.h"
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/clone-visitor.h"
|
||||
#include "test-qapi-types.h"
|
||||
#include "test-qapi-visit.h"
|
||||
#include "qapi/qmp/types.h"
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qapi/error.h"
|
||||
#include "test-qapi-types.h"
|
||||
|
||||
static void test_qapi_enum_parse(void)
|
||||
{
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "test-qapi-types.h"
|
||||
#include "test-qapi-visit.h"
|
||||
#include "test-qapi-event.h"
|
||||
#include "qapi/qmp/types.h"
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/qobject-input-visitor.h"
|
||||
#include "test-qapi-types.h"
|
||||
#include "test-qapi-visit.h"
|
||||
#include "qapi/qmp/types.h"
|
||||
#include "qapi/qmp/qjson.h"
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/qobject-output-visitor.h"
|
||||
#include "test-qapi-types.h"
|
||||
#include "test-qapi-visit.h"
|
||||
#include "qapi/qmp/types.h"
|
||||
#include "qapi/qmp/qjson.h"
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/string-input-visitor.h"
|
||||
#include "test-qapi-types.h"
|
||||
#include "test-qapi-visit.h"
|
||||
#include "qapi/qmp/types.h"
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/string-output-visitor.h"
|
||||
#include "test-qapi-types.h"
|
||||
#include "test-qapi-visit.h"
|
||||
#include "qapi/qmp/types.h"
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include <float.h>
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "test-qapi-types.h"
|
||||
#include "test-qapi-visit.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/qmp/types.h"
|
||||
@ -24,7 +23,6 @@
|
||||
#include "qapi/qobject-output-visitor.h"
|
||||
#include "qapi/string-input-visitor.h"
|
||||
#include "qapi/string-output-visitor.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qapi-visit.h"
|
||||
#include "qapi/dealloc-visitor.h"
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "ui/console.h"
|
||||
#include "qmp-commands.h"
|
||||
#include "qapi-types.h"
|
||||
#include "ui/keymaps.h"
|
||||
#include "ui/input.h"
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qmp-commands.h"
|
||||
#include "trace.h"
|
||||
|
Loading…
Reference in New Issue
Block a user