]> git.ipfire.org Git - thirdparty/qemu.git/blame - hw/net/rocker/qmp-norocker.c
Include qemu-common.h exactly where needed
[thirdparty/qemu.git] / hw / net / rocker / qmp-norocker.c
CommitLineData
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"
e688df6b 19#include "qapi/error.h"
9af23989 20#include "qapi/qapi-commands-rocker.h"
fafa4d50
SF
21#include "qapi/qmp/qerror.h"
22
23RockerSwitch *qmp_query_rocker(const char *name, Error **errp)
24{
c6bd8c70 25 error_setg(errp, QERR_FEATURE_DISABLED, "rocker");
fafa4d50
SF
26 return NULL;
27};
28
29RockerPortList *qmp_query_rocker_ports(const char *name, Error **errp)
30{
c6bd8c70 31 error_setg(errp, QERR_FEATURE_DISABLED, "rocker");
fafa4d50
SF
32 return NULL;
33};
34
35RockerOfDpaFlowList *qmp_query_rocker_of_dpa_flows(const char *name,
36 bool has_tbl_id,
37 uint32_t tbl_id,
38 Error **errp)
39{
c6bd8c70 40 error_setg(errp, QERR_FEATURE_DISABLED, "rocker");
fafa4d50
SF
41 return NULL;
42};
43
44RockerOfDpaGroupList *qmp_query_rocker_of_dpa_groups(const char *name,
45 bool has_type,
46 uint8_t type,
47 Error **errp)
48{
c6bd8c70 49 error_setg(errp, QERR_FEATURE_DISABLED, "rocker");
fafa4d50
SF
50 return NULL;
51};