vhost-user: check qemu_chr_fe_set_msgfds() return value
[qemu.git] / stubs / get-fd.c
blob7dfdfb55f745beec1455071113be0340c95ff45c
1 #include "qemu/osdep.h"
2 #include "qapi/error.h"
3 #include "qemu-common.h"
4 #include "monitor/monitor.h"
6 int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
8 error_setg(errp, "only QEMU supports file descriptor passing");
9 return -1;