2
0

qemu-user.c 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * Stubs for QEMU user emulation
  3. *
  4. * Copyright (c) 2012 SUSE LINUX Products GmbH
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * as published by the Free Software Foundation; either version 2
  9. * of the License, or (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. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, see
  18. * <http://www.gnu.org/licenses/gpl-2.0.html>
  19. */
  20. #include "qemu-common.h"
  21. #include "monitor.h"
  22. Monitor *cur_mon;
  23. int monitor_cur_is_qmp(void)
  24. {
  25. return 0;
  26. }
  27. void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap)
  28. {
  29. }
  30. void monitor_set_error(Monitor *mon, QError *qerror)
  31. {
  32. }
  33. int monitor_fdset_get_fd(int64_t fdset_id, int flags)
  34. {
  35. return -1;
  36. }
  37. int monitor_fdset_dup_fd_add(int64_t fdset_id, int dup_fd)
  38. {
  39. return -1;
  40. }
  41. int monitor_fdset_dup_fd_remove(int dup_fd)
  42. {
  43. return -1;
  44. }
  45. int monitor_fdset_dup_fd_find(int dup_fd)
  46. {
  47. return -1;
  48. }