aboutsummaryrefslogtreecommitdiff
path: root/stubs/monitor.c
blob: cdbf5c5f9ac581d8c3b9ad08e667fad214be292f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qapi/qapi-emit-events.h"
#include "monitor/monitor.h"

__thread Monitor *cur_mon;

int monitor_vprintf(Monitor *mon, const char *fmt, va_list ap)
{
    abort();
}

int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
{
    error_setg(errp, "only QEMU supports file descriptor passing");
    return -1;
}

void monitor_init(Chardev *chr, int flags)
{
}

void qapi_event_emit(QAPIEvent event, QDict *qdict)
{
}