summaryrefslogtreecommitdiffstats
path: root/stubs/monitor.c
blob: 1d574b1c6fc58988853b2e896bbdd2cf780e01fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "monitor/monitor.h"

Monitor *cur_mon = NULL;

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(CharDriverState *chr, int flags)
{
}