Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
14515a72
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,发现更多精彩内容 >>
提交
14515a72
编写于
8月 24, 2010
作者:
J
Jim Fehlig
提交者:
Eric Blake
8月 31, 2010
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add tests for Xen's blktap2 implementation
xml2sexpr and sexpr2xml tests for blktap2
上级
2b3109e2
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
79 addition
and
0 deletion
+79
-0
tests/sexpr2xmldata/sexpr2xml-disk-drv-blktap2-raw.sexpr
tests/sexpr2xmldata/sexpr2xml-disk-drv-blktap2-raw.sexpr
+1
-0
tests/sexpr2xmldata/sexpr2xml-disk-drv-blktap2-raw.xml
tests/sexpr2xmldata/sexpr2xml-disk-drv-blktap2-raw.xml
+27
-0
tests/sexpr2xmltest.c
tests/sexpr2xmltest.c
+1
-0
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2-raw.sexpr
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2-raw.sexpr
+1
-0
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2-raw.xml
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2-raw.xml
+23
-0
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2.sexpr
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2.sexpr
+1
-0
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2.xml
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2.xml
+23
-0
tests/xml2sexprtest.c
tests/xml2sexprtest.c
+2
-0
未找到文件。
tests/sexpr2xmldata/sexpr2xml-disk-drv-blktap2-raw.sexpr
0 → 100644
浏览文件 @
14515a72
(domain (domid 6)(name 'pvtest')(memory 420)(maxmem 420)(vcpus 2)(uuid '596a5d2171f48fb2e068e2386a5c413e')(on_poweroff 'destroy')(on_reboot 'destroy')(on_crash 'destroy')(image (linux (kernel '/var/lib/xen/vmlinuz.2Dn2YT')(ramdisk '/var/lib/xen/initrd.img.0u-Vhq')(args ' method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os ')))(device (tap2 (dev 'xvda')(uname 'tap2:aio:/root/some.img')(mode 'w'))))
tests/sexpr2xmldata/sexpr2xml-disk-drv-blktap2-raw.xml
0 → 100644
浏览文件 @
14515a72
<domain
type=
'xen'
id=
'6'
>
<name>
pvtest
</name>
<uuid>
596a5d21-71f4-8fb2-e068-e2386a5c413e
</uuid>
<memory>
430080
</memory>
<currentMemory>
430080
</currentMemory>
<vcpu>
2
</vcpu>
<os>
<type>
linux
</type>
<kernel>
/var/lib/xen/vmlinuz.2Dn2YT
</kernel>
<initrd>
/var/lib/xen/initrd.img.0u-Vhq
</initrd>
<cmdline>
method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os
</cmdline>
</os>
<clock
offset=
'utc'
/>
<on_poweroff>
destroy
</on_poweroff>
<on_reboot>
destroy
</on_reboot>
<on_crash>
destroy
</on_crash>
<devices>
<disk
type=
'file'
device=
'disk'
>
<driver
name=
'tap2'
type=
'aio'
/>
<source
file=
'/root/some.img'
/>
<target
dev=
'xvda'
bus=
'xen'
/>
</disk>
<console
type=
'pty'
>
<target
type=
'xen'
port=
'0'
/>
</console>
</devices>
</domain>
tests/sexpr2xmltest.c
浏览文件 @
14515a72
...
...
@@ -138,6 +138,7 @@ mymain(int argc, char **argv)
DO_TEST
(
"disk-block-shareable"
,
"disk-block-shareable"
,
2
);
DO_TEST
(
"disk-drv-blktap-raw"
,
"disk-drv-blktap-raw"
,
2
);
DO_TEST
(
"disk-drv-blktap-qcow"
,
"disk-drv-blktap-qcow"
,
2
);
DO_TEST
(
"disk-drv-blktap2-raw"
,
"disk-drv-blktap2-raw"
,
2
);
DO_TEST
(
"curmem"
,
"curmem"
,
2
);
DO_TEST
(
"net-routed"
,
"net-routed"
,
2
);
...
...
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2-raw.sexpr
0 → 100644
浏览文件 @
14515a72
(vm (name 'pvtest')(memory 420)(maxmem 420)(vcpus 2)(uuid '596a5d21-71f4-8fb2-e068-e2386a5c413e')(on_poweroff 'destroy')(on_reboot 'destroy')(on_crash 'destroy')(image (linux (kernel '/var/lib/xen/vmlinuz.2Dn2YT')(ramdisk '/var/lib/xen/initrd.img.0u-Vhq')(args ' method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os ')))(device (tap2 (dev 'xvda')(uname 'tap2:aio:/root/some.img')(mode 'w'))))
\ No newline at end of file
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2-raw.xml
0 → 100644
浏览文件 @
14515a72
<domain
type=
'xen'
id=
'15'
>
<name>
pvtest
</name>
<uuid>
596a5d2171f48fb2e068e2386a5c413e
</uuid>
<os>
<type>
linux
</type>
<kernel>
/var/lib/xen/vmlinuz.2Dn2YT
</kernel>
<initrd>
/var/lib/xen/initrd.img.0u-Vhq
</initrd>
<cmdline>
method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os
</cmdline>
</os>
<memory>
430080
</memory>
<vcpu>
2
</vcpu>
<on_poweroff>
destroy
</on_poweroff>
<on_reboot>
destroy
</on_reboot>
<on_crash>
destroy
</on_crash>
<devices>
<disk
type=
'file'
device=
'disk'
>
<driver
name=
"tap2"
type=
"aio"
/>
<source
file=
'/root/some.img'
/>
<target
dev=
'xvda'
/>
</disk>
<console
tty=
'/dev/pts/4'
/>
</devices>
</domain>
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2.sexpr
0 → 100644
浏览文件 @
14515a72
(vm (name 'pvtest')(memory 420)(maxmem 420)(vcpus 2)(uuid '596a5d21-71f4-8fb2-e068-e2386a5c413e')(on_poweroff 'destroy')(on_reboot 'destroy')(on_crash 'destroy')(image (linux (kernel '/var/lib/xen/vmlinuz.2Dn2YT')(ramdisk '/var/lib/xen/initrd.img.0u-Vhq')(args ' method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os ')))(device (tap2 (dev 'xvda')(uname 'tap2:aio:/root/some.img')(mode 'w'))))
\ No newline at end of file
tests/xml2sexprdata/xml2sexpr-disk-drv-blktap2.xml
0 → 100644
浏览文件 @
14515a72
<domain
type=
'xen'
id=
'15'
>
<name>
pvtest
</name>
<uuid>
596a5d2171f48fb2e068e2386a5c413e
</uuid>
<os>
<type>
linux
</type>
<kernel>
/var/lib/xen/vmlinuz.2Dn2YT
</kernel>
<initrd>
/var/lib/xen/initrd.img.0u-Vhq
</initrd>
<cmdline>
method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os
</cmdline>
</os>
<memory>
430080
</memory>
<vcpu>
2
</vcpu>
<on_poweroff>
destroy
</on_poweroff>
<on_reboot>
destroy
</on_reboot>
<on_crash>
destroy
</on_crash>
<devices>
<disk
type=
'file'
device=
'disk'
>
<driver
name=
"tap2"
/>
<source
file=
'/root/some.img'
/>
<target
dev=
'xvda'
/>
</disk>
<console
tty=
'/dev/pts/4'
/>
</devices>
</domain>
tests/xml2sexprtest.c
浏览文件 @
14515a72
...
...
@@ -127,6 +127,8 @@ mymain(int argc, char **argv)
DO_TEST
(
"disk-drv-blktap"
,
"disk-drv-blktap"
,
"pvtest"
,
2
);
DO_TEST
(
"disk-drv-blktap-raw"
,
"disk-drv-blktap-raw"
,
"pvtest"
,
2
);
DO_TEST
(
"disk-drv-blktap-qcow"
,
"disk-drv-blktap-qcow"
,
"pvtest"
,
2
);
DO_TEST
(
"disk-drv-blktap2"
,
"disk-drv-blktap2"
,
"pvtest"
,
2
);
DO_TEST
(
"disk-drv-blktap2-raw"
,
"disk-drv-blktap2-raw"
,
"pvtest"
,
2
);
DO_TEST
(
"curmem"
,
"curmem"
,
"rhel5"
,
2
);
DO_TEST
(
"net-routed"
,
"net-routed"
,
"pvtest"
,
2
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录