提交 eab55b25 编写于 作者: D Daniel P. Berrangé

qemu: drop ability to open monitor from FD

The qemuMonitorOpenFD method has not been used since it
was first introduced.
Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 78f66a12
...@@ -825,16 +825,6 @@ qemuMonitorOpen(virDomainObjPtr vm, ...@@ -825,16 +825,6 @@ qemuMonitorOpen(virDomainObjPtr vm,
} }
qemuMonitorPtr
qemuMonitorOpenFD(virDomainObjPtr vm,
int sockfd,
qemuMonitorCallbacksPtr cb,
void *opaque)
{
return qemuMonitorOpenInternal(vm, sockfd, cb, opaque);
}
/** /**
* qemuMonitorRegister: * qemuMonitorRegister:
* @mon: QEMU monitor * @mon: QEMU monitor
......
...@@ -385,11 +385,6 @@ qemuMonitorPtr qemuMonitorOpen(virDomainObjPtr vm, ...@@ -385,11 +385,6 @@ qemuMonitorPtr qemuMonitorOpen(virDomainObjPtr vm,
qemuMonitorCallbacksPtr cb, qemuMonitorCallbacksPtr cb,
void *opaque) void *opaque)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(5); ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(5);
qemuMonitorPtr qemuMonitorOpenFD(virDomainObjPtr vm,
int sockfd,
qemuMonitorCallbacksPtr cb,
void *opaque)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(4);
bool qemuMonitorRegister(qemuMonitorPtr mon) bool qemuMonitorRegister(qemuMonitorPtr mon)
ATTRIBUTE_NONNULL(1); ATTRIBUTE_NONNULL(1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册