qemu/stubs/monitor.c
<<
>>
Prefs
   1#include "qemu/osdep.h"
   2#include "qapi/error.h"
   3#include "qapi/qapi-emit-events.h"
   4#include "qemu-common.h"
   5#include "monitor/monitor.h"
   6
   7__thread Monitor *cur_mon;
   8
   9int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
  10{
  11    error_setg(errp, "only QEMU supports file descriptor passing");
  12    return -1;
  13}
  14
  15void monitor_init(Chardev *chr, int flags)
  16{
  17}
  18
  19void qapi_event_emit(QAPIEvent event, QDict *qdict)
  20{
  21}
  22