]> git.proxmox.com Git - mirror_qemu.git/blame - 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
CommitLineData
fafa4d50 1/*
11787102 2 * QMP command stubs
fafa4d50
SF
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
e8d40465 17#include "qemu/osdep.h"
e688df6b 18#include "qapi/error.h"
9af23989 19#include "qapi/qapi-commands-rocker.h"
fafa4d50
SF
20
21RockerSwitch *qmp_query_rocker(const char *name, Error **errp)
22{
11787102 23 error_setg(errp, "rocker %s not found", name);
fafa4d50
SF
24 return NULL;
25};
26
27RockerPortList *qmp_query_rocker_ports(const char *name, Error **errp)
28{
11787102 29 error_setg(errp, "rocker %s not found", name);
fafa4d50
SF
30 return NULL;
31};
32
33RockerOfDpaFlowList *qmp_query_rocker_of_dpa_flows(const char *name,
34 bool has_tbl_id,
35 uint32_t tbl_id,
36 Error **errp)
37{
11787102 38 error_setg(errp, "rocker %s not found", name);
fafa4d50
SF
39 return NULL;
40};
41
42RockerOfDpaGroupList *qmp_query_rocker_of_dpa_groups(const char *name,
43 bool has_type,
44 uint8_t type,
45 Error **errp)
46{
11787102 47 error_setg(errp, "rocker %s not found", name);
fafa4d50
SF
48 return NULL;
49};