Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
99d69f69
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
99d69f69
编写于
1月 22, 2018
作者:
D
Daniel P. Berrange
提交者:
Daniel P. Berrangé
1月 31, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
libvirtd: rename virNetServerClient callback impls to match type names
Signed-off-by:
N
Daniel P. Berrange
<
berrange@redhat.com
>
上级
b1e03dad
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
15 addition
and
15 deletion
+15
-15
daemon/libvirtd.c
daemon/libvirtd.c
+4
-4
daemon/remote.c
daemon/remote.c
+3
-3
daemon/remote.h
daemon/remote.h
+3
-3
src/admin/admin_server_dispatch.c
src/admin/admin_server_dispatch.c
+3
-3
src/admin/admin_server_dispatch.h
src/admin/admin_server_dispatch.h
+2
-2
未找到文件。
daemon/libvirtd.c
浏览文件 @
99d69f69
...
@@ -1311,9 +1311,9 @@ int main(int argc, char **argv) {
...
@@ -1311,9 +1311,9 @@ int main(int argc, char **argv) {
config
->
keepalive_interval
,
config
->
keepalive_interval
,
config
->
keepalive_count
,
config
->
keepalive_count
,
config
->
mdns_adv
?
config
->
mdns_name
:
NULL
,
config
->
mdns_adv
?
config
->
mdns_name
:
NULL
,
remoteClient
InitHook
,
remoteClient
New
,
NULL
,
NULL
,
remoteClientFree
Func
,
remoteClientFree
,
NULL
)))
{
NULL
)))
{
ret
=
VIR_DAEMON_ERR_INIT
;
ret
=
VIR_DAEMON_ERR_INIT
;
goto
cleanup
;
goto
cleanup
;
...
@@ -1385,9 +1385,9 @@ int main(int argc, char **argv) {
...
@@ -1385,9 +1385,9 @@ int main(int argc, char **argv) {
config
->
admin_keepalive_interval
,
config
->
admin_keepalive_interval
,
config
->
admin_keepalive_count
,
config
->
admin_keepalive_count
,
NULL
,
NULL
,
remoteAdmClient
InitHook
,
remoteAdmClient
New
,
NULL
,
NULL
,
remoteAdmClientFree
Func
,
remoteAdmClientFree
,
dmn
)))
{
dmn
)))
{
ret
=
VIR_DAEMON_ERR_INIT
;
ret
=
VIR_DAEMON_ERR_INIT
;
goto
cleanup
;
goto
cleanup
;
...
...
daemon/remote.c
浏览文件 @
99d69f69
...
@@ -1734,7 +1734,7 @@ remoteClientFreePrivateCallbacks(struct daemonClientPrivate *priv)
...
@@ -1734,7 +1734,7 @@ remoteClientFreePrivateCallbacks(struct daemonClientPrivate *priv)
* We keep the libvirt connection open until any async
* We keep the libvirt connection open until any async
* jobs have finished, then clean it up elsewhere
* jobs have finished, then clean it up elsewhere
*/
*/
void
remoteClientFree
Func
(
void
*
data
)
void
remoteClientFree
(
void
*
data
)
{
{
struct
daemonClientPrivate
*
priv
=
data
;
struct
daemonClientPrivate
*
priv
=
data
;
...
@@ -1757,8 +1757,8 @@ static void remoteClientCloseFunc(virNetServerClientPtr client)
...
@@ -1757,8 +1757,8 @@ static void remoteClientCloseFunc(virNetServerClientPtr client)
}
}
void
*
remoteClient
InitHook
(
virNetServerClientPtr
client
,
void
*
remoteClient
New
(
virNetServerClientPtr
client
,
void
*
opaque
ATTRIBUTE_UNUSED
)
void
*
opaque
ATTRIBUTE_UNUSED
)
{
{
struct
daemonClientPrivate
*
priv
;
struct
daemonClientPrivate
*
priv
;
...
...
daemon/remote.h
浏览文件 @
99d69f69
...
@@ -38,8 +38,8 @@ extern size_t lxcNProcs;
...
@@ -38,8 +38,8 @@ extern size_t lxcNProcs;
extern
virNetServerProgramProc
qemuProcs
[];
extern
virNetServerProgramProc
qemuProcs
[];
extern
size_t
qemuNProcs
;
extern
size_t
qemuNProcs
;
void
remoteClientFree
Func
(
void
*
data
);
void
remoteClientFree
(
void
*
data
);
void
*
remoteClient
InitHook
(
virNetServerClientPtr
client
,
void
*
remoteClient
New
(
virNetServerClientPtr
client
,
void
*
opaque
);
void
*
opaque
);
#endif
/* __LIBVIRTD_REMOTE_H__ */
#endif
/* __LIBVIRTD_REMOTE_H__ */
src/admin/admin_server_dispatch.c
浏览文件 @
99d69f69
...
@@ -52,7 +52,7 @@ struct daemonAdmClientPrivate {
...
@@ -52,7 +52,7 @@ struct daemonAdmClientPrivate {
};
};
void
void
remoteAdmClientFree
Func
(
void
*
data
)
remoteAdmClientFree
(
void
*
data
)
{
{
struct
daemonAdmClientPrivate
*
priv
=
data
;
struct
daemonAdmClientPrivate
*
priv
=
data
;
...
@@ -62,8 +62,8 @@ remoteAdmClientFreeFunc(void *data)
...
@@ -62,8 +62,8 @@ remoteAdmClientFreeFunc(void *data)
}
}
void
*
void
*
remoteAdmClient
InitHook
(
virNetServerClientPtr
client
ATTRIBUTE_UNUSED
,
remoteAdmClient
New
(
virNetServerClientPtr
client
ATTRIBUTE_UNUSED
,
void
*
opaque
)
void
*
opaque
)
{
{
struct
daemonAdmClientPrivate
*
priv
;
struct
daemonAdmClientPrivate
*
priv
;
...
...
src/admin/admin_server_dispatch.h
浏览文件 @
99d69f69
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
extern
virNetServerProgramProc
adminProcs
[];
extern
virNetServerProgramProc
adminProcs
[];
extern
size_t
adminNProcs
;
extern
size_t
adminNProcs
;
void
remoteAdmClientFree
Func
(
void
*
data
);
void
remoteAdmClientFree
(
void
*
data
);
void
*
remoteAdmClient
InitHook
(
virNetServerClientPtr
client
,
void
*
opaque
);
void
*
remoteAdmClient
New
(
virNetServerClientPtr
client
,
void
*
opaque
);
#endif
/* __ADMIN_SERVER_DISPATCH_H__ */
#endif
/* __ADMIN_SERVER_DISPATCH_H__ */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录