Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / hw / net / rocker / qmp-norocker.c
blobf6c1196a24433d6674fac7eff1e544c1d5e735c6
1 /*
2 * QMP command stubs
4 * Copyright (c) 2015 David Ahern <dsahern@gmail.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #include "qemu/osdep.h"
18 #include "qapi/error.h"
19 #include "qapi/qapi-commands-rocker.h"
21 RockerSwitch *qmp_query_rocker(const char *name, Error **errp)
23 error_setg(errp, "rocker %s not found", name);
24 return NULL;
27 RockerPortList *qmp_query_rocker_ports(const char *name, Error **errp)
29 error_setg(errp, "rocker %s not found", name);
30 return NULL;
33 RockerOfDpaFlowList *qmp_query_rocker_of_dpa_flows(const char *name,
34 bool has_tbl_id,
35 uint32_t tbl_id,
36 Error **errp)
38 error_setg(errp, "rocker %s not found", name);
39 return NULL;
42 RockerOfDpaGroupList *qmp_query_rocker_of_dpa_groups(const char *name,
43 bool has_type,
44 uint8_t type,
45 Error **errp)
47 error_setg(errp, "rocker %s not found", name);
48 return NULL;