| 1 | /* AUTOMATICALLY GENERATED, DO NOT MODIFY */ |
| 2 | |
| 3 | /* |
| 4 | * Schema-defined QAPI/QMP commands |
| 5 | * |
| 6 | * Copyright IBM, Corp. 2011 |
| 7 | * Copyright (C) 2014-2018 Red Hat, Inc. |
| 8 | * |
| 9 | * This work is licensed under the terms of the GNU LGPL, version 2.1 or later. |
| 10 | * See the COPYING.LIB file in the top-level directory. |
| 11 | */ |
| 12 | |
| 13 | #ifndef QAPI_COMMANDS_MACHINE_TARGET_H |
| 14 | #define QAPI_COMMANDS_MACHINE_TARGET_H |
| 15 | |
| 16 | #include "qapi-types-machine-target.h" |
| 17 | #include "qapi/qmp/dispatch.h" |
| 18 | |
| 19 | #if defined(TARGET_S390X) |
| 20 | CpuModelCompareInfo *qmp_query_cpu_model_comparison(CpuModelInfo *modela, CpuModelInfo *modelb, Error **errp); |
| 21 | void qmp_marshal_query_cpu_model_comparison(QDict *args, QObject **ret, Error **errp); |
| 22 | #endif /* defined(TARGET_S390X) */ |
| 23 | #if defined(TARGET_S390X) |
| 24 | CpuModelBaselineInfo *qmp_query_cpu_model_baseline(CpuModelInfo *modela, CpuModelInfo *modelb, Error **errp); |
| 25 | void qmp_marshal_query_cpu_model_baseline(QDict *args, QObject **ret, Error **errp); |
| 26 | #endif /* defined(TARGET_S390X) */ |
| 27 | #if defined(TARGET_S390X) || defined(TARGET_I386) |
| 28 | CpuModelExpansionInfo *qmp_query_cpu_model_expansion(CpuModelExpansionType type, CpuModelInfo *model, Error **errp); |
| 29 | void qmp_marshal_query_cpu_model_expansion(QDict *args, QObject **ret, Error **errp); |
| 30 | #endif /* defined(TARGET_S390X) || defined(TARGET_I386) */ |
| 31 | #if defined(TARGET_PPC) || defined(TARGET_ARM) || defined(TARGET_I386) || defined(TARGET_S390X) || defined(TARGET_MIPS) |
| 32 | CpuDefinitionInfoList *qmp_query_cpu_definitions(Error **errp); |
| 33 | void qmp_marshal_query_cpu_definitions(QDict *args, QObject **ret, Error **errp); |
| 34 | #endif /* defined(TARGET_PPC) || defined(TARGET_ARM) || defined(TARGET_I386) || defined(TARGET_S390X) || defined(TARGET_MIPS) */ |
| 35 | |
| 36 | #endif /* QAPI_COMMANDS_MACHINE_TARGET_H */ |
| 37 | |