|
@@ -192,6 +192,7 @@ void hmp_change(Monitor *mon, const QDict *qdict)
|
|
hmp_handle_error(mon, err);
|
|
hmp_handle_error(mon, err);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef CONFIG_POSIX
|
|
void hmp_getfd(Monitor *mon, const QDict *qdict)
|
|
void hmp_getfd(Monitor *mon, const QDict *qdict)
|
|
{
|
|
{
|
|
const char *fdname = qdict_get_str(qdict, "fdname");
|
|
const char *fdname = qdict_get_str(qdict, "fdname");
|
|
@@ -200,6 +201,7 @@ void hmp_getfd(Monitor *mon, const QDict *qdict)
|
|
qmp_getfd(fdname, &err);
|
|
qmp_getfd(fdname, &err);
|
|
hmp_handle_error(mon, err);
|
|
hmp_handle_error(mon, err);
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
void hmp_closefd(Monitor *mon, const QDict *qdict)
|
|
void hmp_closefd(Monitor *mon, const QDict *qdict)
|
|
{
|
|
{
|