6ede81d576
Before we can add the monitor to qemu-storage-daemon, we need to add a stubs for monitor_fdsets_cleanup(). We also need to make sure that stubs that are actually implemented in the monitor core aren't linked to qemu-storage-daemon so that we don't get linker errors because of duplicate symbols. This is achieved by moving the stubs in question to a new file stubs/monitor-core.c. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20200224143008.13362-15-kwolf@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
19 lines
370 B
C
19 lines
370 B
C
#include "qemu/osdep.h"
|
|
#include "qapi/error.h"
|
|
#include "monitor/monitor.h"
|
|
#include "../monitor/monitor-internal.h"
|
|
|
|
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_hmp(Chardev *chr, bool use_readline)
|
|
{
|
|
}
|
|
|
|
void monitor_fdsets_cleanup(void)
|
|
{
|
|
}
|