]>
Commit | Line | Data |
---|---|---|
fafa4d50 SF |
1 | /* |
2 | * QMP Target options - Commands handled based on a target config | |
3 | * versus a host config | |
4 | * | |
5 | * Copyright (c) 2015 David Ahern <dsahern@gmail.com> | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License as published by | |
9 | * the Free Software Foundation; either version 2 of the License, or | |
10 | * (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | */ | |
17 | ||
e8d40465 | 18 | #include "qemu/osdep.h" |
fafa4d50 | 19 | #include "qemu-common.h" |
e688df6b | 20 | #include "qapi/error.h" |
9af23989 | 21 | #include "qapi/qapi-commands-rocker.h" |
fafa4d50 SF |
22 | #include "qapi/qmp/qerror.h" |
23 | ||
24 | RockerSwitch *qmp_query_rocker(const char *name, Error **errp) | |
25 | { | |
c6bd8c70 | 26 | error_setg(errp, QERR_FEATURE_DISABLED, "rocker"); |
fafa4d50 SF |
27 | return NULL; |
28 | }; | |
29 | ||
30 | RockerPortList *qmp_query_rocker_ports(const char *name, Error **errp) | |
31 | { | |
c6bd8c70 | 32 | error_setg(errp, QERR_FEATURE_DISABLED, "rocker"); |
fafa4d50 SF |
33 | return NULL; |
34 | }; | |
35 | ||
36 | RockerOfDpaFlowList *qmp_query_rocker_of_dpa_flows(const char *name, | |
37 | bool has_tbl_id, | |
38 | uint32_t tbl_id, | |
39 | Error **errp) | |
40 | { | |
c6bd8c70 | 41 | error_setg(errp, QERR_FEATURE_DISABLED, "rocker"); |
fafa4d50 SF |
42 | return NULL; |
43 | }; | |
44 | ||
45 | RockerOfDpaGroupList *qmp_query_rocker_of_dpa_groups(const char *name, | |
46 | bool has_type, | |
47 | uint8_t type, | |
48 | Error **errp) | |
49 | { | |
c6bd8c70 | 50 | error_setg(errp, QERR_FEATURE_DISABLED, "rocker"); |
fafa4d50 SF |
51 | return NULL; |
52 | }; |