]> git.proxmox.com Git - mirror_qemu.git/blob - hw/net/rocker/qmp-norocker.c
Merge tag 'pull-riscv-to-apply-20230224' of github.com:palmer-dabbelt/qemu into staging
[mirror_qemu.git] / hw / net / rocker / qmp-norocker.c
1 /*
2 * QMP command stubs
3 *
4 * Copyright (c) 2015 David Ahern <dsahern@gmail.com>
5 *
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.
10 *
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.
15 */
16
17 #include "qemu/osdep.h"
18 #include "qapi/error.h"
19 #include "qapi/qapi-commands-rocker.h"
20
21 RockerSwitch *qmp_query_rocker(const char *name, Error **errp)
22 {
23 error_setg(errp, "rocker %s not found", name);
24 return NULL;
25 };
26
27 RockerPortList *qmp_query_rocker_ports(const char *name, Error **errp)
28 {
29 error_setg(errp, "rocker %s not found", name);
30 return NULL;
31 };
32
33 RockerOfDpaFlowList *qmp_query_rocker_of_dpa_flows(const char *name,
34 bool has_tbl_id,
35 uint32_t tbl_id,
36 Error **errp)
37 {
38 error_setg(errp, "rocker %s not found", name);
39 return NULL;
40 };
41
42 RockerOfDpaGroupList *qmp_query_rocker_of_dpa_groups(const char *name,
43 bool has_type,
44 uint8_t type,
45 Error **errp)
46 {
47 error_setg(errp, "rocker %s not found", name);
48 return NULL;
49 };