qmp-norocker.c 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. #include "qemu/osdep.h"
  18. #include "qapi/error.h"
  19. #include "qapi/qapi-commands-rocker.h"
  20. #include "qapi/qmp/qerror.h"
  21. RockerSwitch *qmp_query_rocker(const char *name, Error **errp)
  22. {
  23. error_setg(errp, QERR_FEATURE_DISABLED, "rocker");
  24. return NULL;
  25. };
  26. RockerPortList *qmp_query_rocker_ports(const char *name, Error **errp)
  27. {
  28. error_setg(errp, QERR_FEATURE_DISABLED, "rocker");
  29. return NULL;
  30. };
  31. RockerOfDpaFlowList *qmp_query_rocker_of_dpa_flows(const char *name,
  32. bool has_tbl_id,
  33. uint32_t tbl_id,
  34. Error **errp)
  35. {
  36. error_setg(errp, QERR_FEATURE_DISABLED, "rocker");
  37. return NULL;
  38. };
  39. RockerOfDpaGroupList *qmp_query_rocker_of_dpa_groups(const char *name,
  40. bool has_type,
  41. uint8_t type,
  42. Error **errp)
  43. {
  44. error_setg(errp, QERR_FEATURE_DISABLED, "rocker");
  45. return NULL;
  46. };