int
-qemuMonitorHMPCommandWithFd(qemuMonitorPtr mon,
- const char *cmd,
- int scm_fd,
- char **reply)
+qemuMonitorHMPCommand(qemuMonitorPtr mon,
+ const char *cmd,
+ char **reply)
{
char *json_cmd = NULL;
int ret = -1;
_("Unable to unescape command"));
goto cleanup;
}
- ret = qemuMonitorJSONHumanCommandWithFd(mon, json_cmd, scm_fd, reply);
+ ret = qemuMonitorJSONHumanCommandWithFd(mon, json_cmd, -1, reply);
cleanup:
VIR_FREE(json_cmd);
virDomainVideoDefPtr video,
const char *videoName)
ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3);
-int qemuMonitorHMPCommandWithFd(qemuMonitorPtr mon,
- const char *cmd,
- int scm_fd,
- char **reply);
-#define qemuMonitorHMPCommand(mon, cmd, reply) \
- qemuMonitorHMPCommandWithFd(mon, cmd, -1, reply)
+int qemuMonitorHMPCommand(qemuMonitorPtr mon,
+ const char *cmd,
+ char **reply);
int qemuMonitorEmitEvent(qemuMonitorPtr mon, const char *event,
long long seconds, unsigned int micros,