qdev: Avoid type assertion in qdev_build_hotpluggable_device_list()
[qemu.git] / stubs / get-fd.c
blob9f2c65cf0a523f0eef387e2a43f739d012106e66
1 #include "qemu-common.h"
2 #include "monitor/monitor.h"
4 int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
6 error_setg(errp, "only QEMU supports file descriptor passing");
7 return -1;