Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
qemu
提交
74c0d6f0
Q
qemu
项目概览
openeuler
/
qemu
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Q
qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
74c0d6f0
编写于
8月 15, 2011
作者:
A
Anthony Liguori
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
char: rename qemu_chr_get_msgfd() -> qemu_chr_fe_get_msgfd()
Signed-off-by:
N
Anthony Liguori
<
aliguori@us.ibm.com
>
上级
70f24fb6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
4 addition
and
4 deletion
+4
-4
hw/ivshmem.c
hw/ivshmem.c
+1
-1
monitor.c
monitor.c
+1
-1
qemu-char.c
qemu-char.c
+1
-1
qemu-char.h
qemu-char.h
+1
-1
未找到文件。
hw/ivshmem.c
浏览文件 @
74c0d6f0
...
...
@@ -401,7 +401,7 @@ static void ivshmem_read(void *opaque, const uint8_t * buf, int flags)
memcpy
(
&
incoming_posn
,
buf
,
sizeof
(
long
));
/* pick off s->server_chr->msgfd and store it, posn should accompany msg */
tmp_fd
=
qemu_chr_get_msgfd
(
s
->
server_chr
);
tmp_fd
=
qemu_chr_
fe_
get_msgfd
(
s
->
server_chr
);
IVSHMEM_DPRINTF
(
"posn is %ld, fd is %d
\n
"
,
incoming_posn
,
tmp_fd
);
/* make sure we have enough space for this guest */
...
...
monitor.c
浏览文件 @
74c0d6f0
...
...
@@ -2770,7 +2770,7 @@ static int do_getfd(Monitor *mon, const QDict *qdict, QObject **ret_data)
mon_fd_t
*
monfd
;
int
fd
;
fd
=
qemu_chr_get_msgfd
(
mon
->
chr
);
fd
=
qemu_chr_
fe_
get_msgfd
(
mon
->
chr
);
if
(
fd
==
-
1
)
{
qerror_report
(
QERR_FD_NOT_SUPPLIED
);
return
-
1
;
...
...
qemu-char.c
浏览文件 @
74c0d6f0
...
...
@@ -163,7 +163,7 @@ void qemu_chr_be_write(CharDriverState *s, uint8_t *buf, int len)
s
->
chr_read
(
s
->
handler_opaque
,
buf
,
len
);
}
int
qemu_chr_get_msgfd
(
CharDriverState
*
s
)
int
qemu_chr_
fe_
get_msgfd
(
CharDriverState
*
s
)
{
return
s
->
get_msgfd
?
s
->
get_msgfd
(
s
)
:
-
1
;
}
...
...
qemu-char.h
浏览文件 @
74c0d6f0
...
...
@@ -98,7 +98,7 @@ int qemu_chr_fe_ioctl(CharDriverState *s, int cmd, void *arg);
void
qemu_chr_generic_open
(
CharDriverState
*
s
);
int
qemu_chr_be_can_write
(
CharDriverState
*
s
);
void
qemu_chr_be_write
(
CharDriverState
*
s
,
uint8_t
*
buf
,
int
len
);
int
qemu_chr_get_msgfd
(
CharDriverState
*
s
);
int
qemu_chr_
fe_
get_msgfd
(
CharDriverState
*
s
);
void
qemu_chr_accept_input
(
CharDriverState
*
s
);
int
qemu_chr_add_client
(
CharDriverState
*
s
,
int
fd
);
void
qemu_chr_info_print
(
Monitor
*
mon
,
const
QObject
*
ret_data
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录