Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
2f2a88b9
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,发现更多精彩内容 >>
提交
2f2a88b9
编写于
2月 21, 2011
作者:
M
Markus Groß
提交者:
Eric Blake
2月 21, 2011
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Moved SEXPR formatting functions to xenxs
上级
07129039
变更
6
展开全部
隐藏空白更改
内联
并排
Showing
6 changed file
with
900 addition
and
888 deletion
+900
-888
src/xen/xend_internal.c
src/xen/xend_internal.c
+0
-875
src/xen/xend_internal.h
src/xen/xend_internal.h
+0
-12
src/xenxs/xen_sxpr.c
src/xenxs/xen_sxpr.c
+849
-1
src/xenxs/xen_sxpr.h
src/xenxs/xen_sxpr.h
+32
-0
src/xenxs/xenxs_private.h
src/xenxs/xenxs_private.h
+18
-0
tests/xml2sexprtest.c
tests/xml2sexprtest.c
+1
-0
未找到文件。
src/xen/xend_internal.c
浏览文件 @
2f2a88b9
此差异已折叠。
点击以展开。
src/xen/xend_internal.h
浏览文件 @
2f2a88b9
...
...
@@ -91,18 +91,6 @@ xenDaemonDomainFetch(virConnectPtr xend,
const
char
*
cpus
);
int
xenDaemonFormatSxprChr
(
virDomainChrDefPtr
def
,
virBufferPtr
buf
);
int
xenDaemonFormatSxprSound
(
virDomainDefPtr
def
,
virBufferPtr
buf
);
char
*
xenDaemonFormatSxpr
(
virConnectPtr
conn
,
virDomainDefPtr
def
,
int
xendConfigVersion
);
int
is_sound_model_valid
(
const
char
*
model
);
int
is_sound_model_conflict
(
const
char
*
model
,
const
char
*
soundstr
);
...
...
src/xenxs/xen_sxpr.c
浏览文件 @
2f2a88b9
此差异已折叠。
点击以展开。
src/xenxs/xen_sxpr.h
浏览文件 @
2f2a88b9
...
...
@@ -59,4 +59,36 @@ virDomainChrDefPtr
xenDaemonParseSxprChar
(
const
char
*
value
,
const
char
*
tty
);
int
xenDaemonFormatSxprDisk
(
virConnectPtr
conn
ATTRIBUTE_UNUSED
,
virDomainDiskDefPtr
def
,
virBufferPtr
buf
,
int
hvm
,
int
xendConfigVersion
,
int
isAttach
);
int
xenDaemonFormatSxprNet
(
virConnectPtr
conn
ATTRIBUTE_UNUSED
,
virDomainNetDefPtr
def
,
virBufferPtr
buf
,
int
hvm
,
int
xendConfigVersion
,
int
isAttach
);
int
xenDaemonFormatSxprOnePCI
(
virDomainHostdevDefPtr
def
,
virBufferPtr
buf
,
int
detach
);
int
xenDaemonFormatSxprChr
(
virDomainChrDefPtr
def
,
virBufferPtr
buf
);
int
xenDaemonFormatSxprSound
(
virDomainDefPtr
def
,
virBufferPtr
buf
);
char
*
xenDaemonFormatSxpr
(
virConnectPtr
conn
,
virDomainDefPtr
def
,
int
xendConfigVersion
);
#endif
/* __VIR_XEN_SXPR_H__ */
src/xenxs/xenxs_private.h
浏览文件 @
2f2a88b9
...
...
@@ -27,6 +27,24 @@
# include "internal.h"
# include <stdint.h>
# include <xen/xen.h>
/* xen-unstable changeset 19788 removed MAX_VIRT_CPUS from public
* headers. Its semantic was retained with XEN_LEGACY_MAX_VCPUS.
* Ensure MAX_VIRT_CPUS is defined accordingly.
*/
# if !defined(MAX_VIRT_CPUS) && defined(XEN_LEGACY_MAX_VCPUS)
# define MAX_VIRT_CPUS XEN_LEGACY_MAX_VCPUS
# endif
# ifdef WITH_RHEL5_API
# define XEND_CONFIG_MAX_VERS_NET_TYPE_IOEMU 0
# define XEND_CONFIG_MIN_VERS_PVFB_NEWCONF 2
# else
# define XEND_CONFIG_MAX_VERS_NET_TYPE_IOEMU 3
# define XEND_CONFIG_MIN_VERS_PVFB_NEWCONF 3
# endif
# define VIR_FROM_THIS VIR_FROM_NONE
...
...
tests/xml2sexprtest.c
浏览文件 @
2f2a88b9
...
...
@@ -10,6 +10,7 @@
#include "internal.h"
#include "xen/xend_internal.h"
#include "xenxs/xen_sxpr.h"
#include "testutils.h"
#include "testutilsxen.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录