1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 #include "qemu/osdep.h"
4 #include "qapi/error.h"
5 #include "qapi/qapi-commands-machine-s390x.h"
6
qmp_set_cpu_topology(uint16_t core,bool has_socket,uint16_t socket,bool has_book,uint16_t book,bool has_drawer,uint16_t drawer,bool has_entitlement,S390CpuEntitlement entitlement,bool has_dedicated,bool dedicated,Error ** errp)7 void qmp_set_cpu_topology(uint16_t core,
8 bool has_socket, uint16_t socket,
9 bool has_book, uint16_t book,
10 bool has_drawer, uint16_t drawer,
11 bool has_entitlement, S390CpuEntitlement entitlement,
12 bool has_dedicated, bool dedicated,
13 Error **errp)
14 {
15 error_setg(errp, "CPU topology change is not supported on this target");
16 }
17
qmp_query_s390x_cpu_polarization(Error ** errp)18 CpuPolarizationInfo *qmp_query_s390x_cpu_polarization(Error **errp)
19 {
20 error_setg(errp, "CPU polarization is not supported on this target");
21 return NULL;
22 }
23