qmp-norocker.c 1.6 KB

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