| 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_H |
| 14 | #define QAPI_COMMANDS_MACHINE_H |
| 15 | |
| 16 | #include "qapi-types-machine.h" |
| 17 | #include "qapi/qmp/dispatch.h" |
| 18 | |
| 19 | CpuInfoList *qmp_query_cpus(Error **errp); |
| 20 | void qmp_marshal_query_cpus(QDict *args, QObject **ret, Error **errp); |
| 21 | CpuInfoFastList *qmp_query_cpus_fast(Error **errp); |
| 22 | void qmp_marshal_query_cpus_fast(QDict *args, QObject **ret, Error **errp); |
| 23 | void qmp_cpu_add(int64_t id, Error **errp); |
| 24 | void qmp_marshal_cpu_add(QDict *args, QObject **ret, Error **errp); |
| 25 | MachineInfoList *qmp_query_machines(Error **errp); |
| 26 | void qmp_marshal_query_machines(QDict *args, QObject **ret, Error **errp); |
| 27 | CurrentMachineParams *qmp_query_current_machine(Error **errp); |
| 28 | void qmp_marshal_query_current_machine(QDict *args, QObject **ret, Error **errp); |
| 29 | TargetInfo *qmp_query_target(Error **errp); |
| 30 | void qmp_marshal_query_target(QDict *args, QObject **ret, Error **errp); |
| 31 | MemdevList *qmp_query_memdev(Error **errp); |
| 32 | void qmp_marshal_query_memdev(QDict *args, QObject **ret, Error **errp); |
| 33 | HotpluggableCPUList *qmp_query_hotpluggable_cpus(Error **errp); |
| 34 | void qmp_marshal_query_hotpluggable_cpus(QDict *args, QObject **ret, Error **errp); |
| 35 | void qmp_set_numa_node(NumaOptions *arg, Error **errp); |
| 36 | void qmp_marshal_set_numa_node(QDict *args, QObject **ret, Error **errp); |
| 37 | |
| 38 | #endif /* QAPI_COMMANDS_MACHINE_H */ |
| 39 | |