Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
ec9d1995
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看板
提交
ec9d1995
编写于
5月 20, 2016
作者:
J
Ján Tomko
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tests: always assume QEMU_CAPS_DRIVE_READONLY
上级
b88f5f1a
变更
57
隐藏空白更改
内联
并排
Showing
57 changed file
with
86 addition
and
61 deletion
+86
-61
tests/qemuxml2argvdata/qemuxml2argv-boot-cdrom.args
tests/qemuxml2argvdata/qemuxml2argv-boot-cdrom.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-boot-complex-bootindex.args
...qemuxml2argvdata/qemuxml2argv-boot-complex-bootindex.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-boot-complex.args
tests/qemuxml2argvdata/qemuxml2argv-boot-complex.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable-drive-bootindex.args
...vdata/qemuxml2argv-boot-menu-disable-drive-bootindex.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable-drive.args
...emuxml2argvdata/qemuxml2argv-boot-menu-disable-drive.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable.args
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-enable-with-timeout.args
...2argvdata/qemuxml2argv-boot-menu-enable-with-timeout.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-enable.args
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-enable.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-boot-multi.args
tests/qemuxml2argvdata/qemuxml2argv-boot-multi.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-boot-order.args
tests/qemuxml2argvdata/qemuxml2argv-boot-order.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-boot-strict.args
tests/qemuxml2argvdata/qemuxml2argv-boot-strict.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-controller-order.args
tests/qemuxml2argvdata/qemuxml2argv-controller-order.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-aio.args
tests/qemuxml2argvdata/qemuxml2argv-disk-aio.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-blockio.args
tests/qemuxml2argvdata/qemuxml2argv-disk-blockio.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.args
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-ftp.args
...qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-ftp.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-ftps.args
...emuxml2argvdata/qemuxml2argv-disk-cdrom-network-ftps.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-http.args
...emuxml2argvdata/qemuxml2argv-disk-cdrom-network-http.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-https.args
...muxml2argvdata/qemuxml2argv-disk-cdrom-network-https.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-tftp.args
...emuxml2argvdata/qemuxml2argv-disk-cdrom-network-tftp.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-tray-no-device-cap.args
...2argvdata/qemuxml2argv-disk-cdrom-tray-no-device-cap.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-tray.args
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-tray.args
+2
-2
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom.args
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-copy_on_read.args
tests/qemuxml2argvdata/qemuxml2argv-disk-copy_on_read.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.args
.../qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.args
...s/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-directsync.args
...ml2argvdata/qemuxml2argv-disk-drive-cache-directsync.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-unsafe.args
...emuxml2argvdata/qemuxml2argv-disk-drive-cache-unsafe.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-none.args
...muxml2argvdata/qemuxml2argv-disk-drive-cache-v2-none.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wb.args
...qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wb.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.args
...qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-discard.args
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-discard.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-enospace.args
...gvdata/qemuxml2argv-disk-drive-error-policy-enospace.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-stop.args
...l2argvdata/qemuxml2argv-disk-drive-error-policy-stop.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-wreport-rignore.args
...qemuxml2argv-disk-drive-error-policy-wreport-rignore.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fmt-qcow.args
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fmt-qcow.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-no-boot.args
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-no-boot.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared.args
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-ide-drive-split.args
...s/qemuxml2argvdata/qemuxml2argv-disk-ide-drive-split.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-ioeventfd.args
tests/qemuxml2argvdata/qemuxml2argv-disk-ioeventfd.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-order.args
tests/qemuxml2argvdata/qemuxml2argv-disk-order.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-split.args
...s/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-split.args
+4
-2
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-vpd.args
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-vpd.args
+4
-2
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-wwn.args
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-wwn.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-snapshot.args
tests/qemuxml2argvdata/qemuxml2argv-disk-snapshot.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-source-pool-mode.args
.../qemuxml2argvdata/qemuxml2argv-disk-source-pool-mode.args
+3
-2
tests/qemuxml2argvdata/qemuxml2argv-disk-source-pool.args
tests/qemuxml2argvdata/qemuxml2argv-disk-source-pool.args
+3
-2
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio.args
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-event_idx.args
tests/qemuxml2argvdata/qemuxml2argv-event_idx.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-floppy-drive-fat.args
tests/qemuxml2argvdata/qemuxml2argv-floppy-drive-fat.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.args
...qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-hugepages-numa.args
tests/qemuxml2argvdata/qemuxml2argv-hugepages-numa.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-addr.args
tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-addr.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-idx.args
tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-idx.args
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-pci-autofill-addr.args
tests/qemuxml2argvdata/qemuxml2argv-pci-autofill-addr.args
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-pci-many.args
tests/qemuxml2argvdata/qemuxml2argv-pci-many.args
+2
-1
tests/qemuxml2argvtest.c
tests/qemuxml2argvtest.c
+1
-0
未找到文件。
tests/qemuxml2argvdata/qemuxml2argv-boot-cdrom.args
浏览文件 @
ec9d1995
...
...
@@ -17,5 +17,6 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot d \
-usb \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-boot-complex-bootindex.args
浏览文件 @
ec9d1995
...
...
@@ -26,7 +26,8 @@ id=virtio-disk1 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/hdb,format=raw,if=none,id=drive-ide0-0-1 \
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive file=/dev/HostVG/hdc,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/dev/HostVG/hdc,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-drive file=/dev/fd0,format=raw,if=none,id=drive-fdc0-0-0 \
-global isa-fdc.driveA=drive-fdc0-0-0 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-boot-complex.args
浏览文件 @
ec9d1995
...
...
@@ -27,7 +27,8 @@ id=virtio-disk1 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/hdb,format=raw,if=none,id=drive-ide0-0-1 \
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive file=/dev/HostVG/hdc,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/dev/HostVG/hdc,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-drive file=/dev/fd0,format=raw,if=none,id=drive-fdc0-0-0 \
-global isa-fdc.driveA=drive-fdc0-0-0 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable-drive-bootindex.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot menu=off \
-usb \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable-drive.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot order=d,menu=off \
-usb \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot order=d,menu=off \
-usb \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-enable-with-timeout.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot order=d,menu=on,splash-time=3000 \
-usb \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-enable.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot order=d,menu=on \
-usb \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-boot-multi.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot order=dcna,menu=on \
-usb \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/dev/cdrom,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-boot-order.args
浏览文件 @
ec9d1995
...
...
@@ -18,7 +18,8 @@ QEMU_AUDIO_DRV=none \
-usb \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/root/boot.iso,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/root/boot.iso,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-drive file=sheepdog:example.org:6000:image,format=raw,if=none,\
id=drive-virtio-disk0 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-boot-strict.args
浏览文件 @
ec9d1995
...
...
@@ -27,7 +27,8 @@ id=virtio-disk1 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/hdb,format=raw,if=none,id=drive-ide0-0-1 \
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive file=/dev/HostVG/hdc,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/dev/HostVG/hdc,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-drive file=/dev/fd0,format=raw,if=none,id=drive-fdc0-0-0 \
-global isa-fdc.driveA=drive-fdc0-0-0 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-controller-order.args
浏览文件 @
ec9d1995
...
...
@@ -25,7 +25,7 @@ aio=native \
-device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,\
id=virtio-disk0 \
-drive file=/tmp/Fedora-17-x86_64-Live-Desktop.iso,format=raw,if=none,\
media=cdrom,id=drive-ide0-1-0 \
media=cdrom,id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:4d:4b:19,bus=pci.0,addr=0x3 \
-net user,vlan=0,name=hostnet0 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-aio.args
浏览文件 @
ec9d1995
...
...
@@ -21,6 +21,6 @@ QEMU_AUDIO_DRV=none \
cache=none,aio=native \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0,aio=threads \
id=drive-ide0-1-0,
readonly=on,
aio=threads \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-disk-blockio.args
浏览文件 @
ec9d1995
...
...
@@ -18,7 +18,8 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot c \
-usb \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-1 \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-1,\
readonly=on \
-device ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive file=/tmp/idedisk.img,format=raw,if=none,id=drive-ide0-0-2 \
-device ide-hd,bus=ide.0,unit=2,drive=drive-ide0-0-2,id=ide0-0-2,\
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.args
浏览文件 @
ec9d1995
...
...
@@ -19,5 +19,5 @@ QEMU_AUDIO_DRV=none \
-usb \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive if=none,media=cdrom,id=drive-ide0-1-0 \
-drive if=none,media=cdrom,id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-ftp.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-boot d \
-usb \
-drive file=ftp://host.name:21/url/path/file.iso,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-ftps.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-boot d \
-usb \
-drive file=ftps://host.name:990/url/path/file.iso,format=raw,if=none,\
media=cdrom,id=drive-ide0-1-0 \
media=cdrom,id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-http.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-boot d \
-usb \
-drive file=http://host.name:80/url/path/file.iso,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-https.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-boot d \
-usb \
-drive file=https://host.name:443/url/path/file.iso,format=raw,if=none,\
media=cdrom,id=drive-ide0-1-0 \
media=cdrom,id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-tftp.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-boot d \
-usb \
-drive file=tftp://host.name:69/url/path/file.iso,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-tray-no-device-cap.args
浏览文件 @
ec9d1995
...
...
@@ -19,6 +19,6 @@ QEMU_AUDIO_DRV=none \
-usb \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive if=none,media=cdrom,id=drive-ide0-1-0 \
-drive if=none,media=cdrom,id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-tray.args
浏览文件 @
ec9d1995
...
...
@@ -22,8 +22,8 @@ id=drive-virtio-disk0 \
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
id=virtio-disk0 \
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=raw,if=none,\
media=cdrom,id=drive-ide0-1-0 \
media=cdrom,id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-drive if=none,media=cdrom,id=drive-ide0-1-1 \
-drive if=none,media=cdrom,id=drive-ide0-1-1
,readonly=on
\
-device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom.args
浏览文件 @
ec9d1995
...
...
@@ -19,5 +19,6 @@ QEMU_AUDIO_DRV=none \
-usb \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/root/boot.iso,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/root/boot.iso,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-copy_on_read.args
浏览文件 @
ec9d1995
...
...
@@ -23,7 +23,7 @@ id=drive-virtio-disk0,copy-on-read=on \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
id=virtio-disk0 \
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=raw,if=none,\
media=cdrom,id=drive-ide0-1-0 \
media=cdrom,id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-net-pci,tx=bh,vlan=0,id=net0,mac=52:54:00:e5:48:58,bus=pci.0,\
addr=0x3 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.args
浏览文件 @
ec9d1995
...
...
@@ -20,5 +20,5 @@ QEMU_AUDIO_DRV=none \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.args
浏览文件 @
ec9d1995
...
...
@@ -20,5 +20,5 @@ QEMU_AUDIO_DRV=none \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-directsync.args
浏览文件 @
ec9d1995
...
...
@@ -21,5 +21,5 @@ QEMU_AUDIO_DRV=none \
cache=directsync \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-unsafe.args
浏览文件 @
ec9d1995
...
...
@@ -21,5 +21,5 @@ QEMU_AUDIO_DRV=none \
cache=unsafe \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-none.args
浏览文件 @
ec9d1995
...
...
@@ -21,5 +21,5 @@ QEMU_AUDIO_DRV=none \
cache=none \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wb.args
浏览文件 @
ec9d1995
...
...
@@ -21,5 +21,5 @@ QEMU_AUDIO_DRV=none \
cache=writeback \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.args
浏览文件 @
ec9d1995
...
...
@@ -21,5 +21,5 @@ QEMU_AUDIO_DRV=none \
cache=writethrough \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-discard.args
浏览文件 @
ec9d1995
...
...
@@ -22,6 +22,6 @@ id=drive-virtio-disk0,discard=unmap \
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
id=virtio-disk0 \
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=raw,if=none,\
media=cdrom,id=drive-ide0-1-0,discard=ignore \
media=cdrom,id=drive-ide0-1-0,
readonly=on,
discard=ignore \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-enospace.args
浏览文件 @
ec9d1995
...
...
@@ -21,5 +21,5 @@ QEMU_AUDIO_DRV=none \
cache=none,werror=enospc \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-stop.args
浏览文件 @
ec9d1995
...
...
@@ -21,5 +21,5 @@ QEMU_AUDIO_DRV=none \
cache=none,werror=stop,rerror=stop \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-wreport-rignore.args
浏览文件 @
ec9d1995
...
...
@@ -21,5 +21,5 @@ QEMU_AUDIO_DRV=none \
cache=none,werror=report,rerror=ignore \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fmt-qcow.args
浏览文件 @
ec9d1995
...
...
@@ -20,5 +20,5 @@ QEMU_AUDIO_DRV=none \
-drive file=/dev/HostVG/QEMUGuest1,format=qcow2,if=none,id=drive-ide0-0-0 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-no-boot.args
浏览文件 @
ec9d1995
...
...
@@ -19,7 +19,7 @@ QEMU_AUDIO_DRV=none \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-drive file=/dev/fd0,format=raw,if=none,id=drive-fdc0-0-0 \
-global isa-fdc.driveA=drive-fdc0-0-0 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared.args
浏览文件 @
ec9d1995
...
...
@@ -21,6 +21,6 @@ QEMU_AUDIO_DRV=none \
serial=XYZXYZXYZYXXYZYZYXYZY,cache=none \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-disk-ide-drive-split.args
浏览文件 @
ec9d1995
...
...
@@ -18,7 +18,8 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot c \
-usb \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-1 \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-1,\
readonly=on \
-device ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive file=/tmp/idedisk.img,format=raw,if=none,id=drive-ide0-0-2 \
-device ide-hd,bus=ide.0,unit=2,drive=drive-ide0-0-2,id=ide0-0-2 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-ioeventfd.args
浏览文件 @
ec9d1995
...
...
@@ -23,7 +23,7 @@ id=drive-virtio-disk0 \
-device virtio-blk-pci,ioeventfd=on,scsi=off,bus=pci.0,addr=0x4,\
drive=drive-virtio-disk0,id=virtio-disk0 \
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=raw,if=none,\
media=cdrom,id=drive-ide0-1-0 \
media=cdrom,id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-net-pci,tx=bh,ioeventfd=off,vlan=0,id=net0,mac=52:54:00:e5:48:58,\
bus=pci.0,addr=0x3 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-order.args
浏览文件 @
ec9d1995
...
...
@@ -20,7 +20,7 @@ QEMU_AUDIO_DRV=none \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-drive file=/tmp/data.img,format=raw,if=none,id=drive-virtio-disk0 \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,\
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-split.args
浏览文件 @
ec9d1995
...
...
@@ -22,10 +22,12 @@ QEMU_AUDIO_DRV=none \
-device lsi,id=scsi2,bus=pci.0,addr=0x5 \
-device virtio-scsi-pci,id=scsi3,bus=pci.0,addr=0x6 \
-usb \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-scsi0-0-1-0 \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-scsi0-0-1-0,\
readonly=on \
-device scsi-cd,bus=scsi0.0,channel=0,scsi-id=1,lun=0,drive=drive-scsi0-0-1-0,\
id=scsi0-0-1-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,id=drive-scsi0-0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,id=drive-scsi0-0-0-0,\
readonly=on \
-device scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,\
id=scsi0-0-0-0 \
-drive file=/tmp/scsidisk.img,format=raw,if=none,id=drive-scsi0-0-0-1 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-vpd.args
浏览文件 @
ec9d1995
...
...
@@ -20,10 +20,12 @@ QEMU_AUDIO_DRV=none \
-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x3 \
-device lsi,id=scsi1,bus=pci.0,addr=0x4 \
-usb \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-scsi0-0-0-0 \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-scsi0-0-0-0,\
readonly=on \
-device scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,\
id=scsi0-0-0-0,vendor=SEAGATE,product=ST3146707LC \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,id=drive-scsi1-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,id=drive-scsi1-0-0,\
readonly=on \
-device 'scsi-hd,bus=scsi1.0,scsi-id=0,drive=drive-scsi1-0-0,id=scsi1-0-0,\
vendor=SEA GATE,product=ST67 807GD' \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-disk-wwn.args
浏览文件 @
ec9d1995
...
...
@@ -20,7 +20,8 @@ QEMU_AUDIO_DRV=none \
-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x3 \
-device lsi,id=scsi1,bus=pci.0,addr=0x4 \
-usb \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-scsi0-0-1-0 \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-scsi0-0-1-0,\
readonly=on \
-device scsi-cd,bus=scsi0.0,channel=0,scsi-id=1,lun=0,drive=drive-scsi0-0-1-0,\
id=scsi0-0-1-0,wwn=0x5000c50015ea71ac \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,id=drive-scsi0-0-0-0 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-snapshot.args
浏览文件 @
ec9d1995
...
...
@@ -24,6 +24,6 @@ cache=none \
cache=none \
-device ide-drive,bus=ide.2,unit=0,drive=drive-ide0-2-0,id=ide0-2-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-disk-source-pool-mode.args
浏览文件 @
ec9d1995
...
...
@@ -18,10 +18,11 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot c \
-usb \
-drive file=/some/block/device/unit:0:0:1,if=none,media=cdrom,id=drive-ide0-0-1 \
-drive file=/some/block/device/unit:0:0:1,if=none,media=cdrom,id=drive-ide0-0-1,\
readonly=on \
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive file=iscsi://iscsi.example.com:3260/demo-target/2,if=none,media=cdrom,\
id=drive-ide0-0-2 \
id=drive-ide0-0-2
,readonly=on
\
-device ide-drive,bus=ide.0,unit=2,drive=drive-ide0-0-2,id=ide0-0-2 \
-drive file=/tmp/idedisk.img,format=raw,if=none,id=drive-ide0-0-3 \
-device ide-drive,bus=ide.0,unit=3,drive=drive-ide0-0-3,id=ide0-0-3 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-source-pool.args
浏览文件 @
ec9d1995
...
...
@@ -18,9 +18,10 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot c \
-usb \
-drive file=/some/block/device/cdrom,if=none,media=cdrom,id=drive-ide0-0-1 \
-drive file=/some/block/device/cdrom,if=none,media=cdrom,id=drive-ide0-0-1,\
readonly=on \
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive if=none,media=cdrom,id=drive-ide0-1-0 \
-drive if=none,media=cdrom,id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-drive file=/tmp/idedisk.img,format=raw,if=none,id=drive-ide0-0-2 \
-device ide-drive,bus=ide.0,unit=2,drive=drive-ide0-0-2,id=ide0-0-2 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio.args
浏览文件 @
ec9d1995
...
...
@@ -20,7 +20,7 @@ QEMU_AUDIO_DRV=none \
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,format=raw,if=none,media=cdrom,\
id=drive-ide0-1-0 \
id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-drive file=/tmp/data.img,format=raw,if=none,id=drive-virtio-disk0 \
-device virtio-blk-pci,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,\
...
...
tests/qemuxml2argvdata/qemuxml2argv-event_idx.args
浏览文件 @
ec9d1995
...
...
@@ -23,7 +23,7 @@ id=drive-virtio-disk0 \
-device virtio-blk-pci,event_idx=on,scsi=off,bus=pci.0,addr=0x4,\
drive=drive-virtio-disk0,id=virtio-disk0 \
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=raw,if=none,\
media=cdrom,id=drive-ide0-1-0 \
media=cdrom,id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-net-pci,event_idx=off,vlan=0,id=net0,mac=52:54:00:e5:48:58,\
bus=pci.0,addr=0x3 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-floppy-drive-fat.args
浏览文件 @
ec9d1995
...
...
@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-no-acpi \
-boot a \
-usb \
-drive file=fat:floppy:/var/somefiles,if=none,id=drive-fdc0-0-0 \
-drive file=fat:floppy:/var/somefiles,if=none,id=drive-fdc0-0-0
,readonly=on
\
-global isa-fdc.driveA=drive-fdc0-0-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.args
浏览文件 @
ec9d1995
...
...
@@ -23,7 +23,7 @@ id=drive-virtio-disk0 \
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
id=virtio-disk0 \
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=raw,if=none,\
media=cdrom,id=drive-ide0-1-0 \
media=cdrom,id=drive-ide0-1-0
,readonly=on
\
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device rtl8139,vlan=0,id=net0,mac=52:54:00:71:70:89,bus=pci.0,addr=0x7 \
-net tap,fd=3,vlan=0,name=hostnet0 \
...
...
tests/qemuxml2argvdata/qemuxml2argv-hugepages-numa.args
浏览文件 @
ec9d1995
...
...
@@ -35,7 +35,7 @@ addr=0x6 \
id=drive-virtio-disk0 \
-device virtio-blk-pci,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,\
id=virtio-disk0 \
-drive if=none,media=cdrom,id=drive-ide0-0-0 \
-drive if=none,media=cdrom,id=drive-ide0-0-0
,readonly=on
\
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-serial pty \
-chardev socket,id=charchannel0,\
...
...
tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-addr.args
浏览文件 @
ec9d1995
...
...
@@ -23,7 +23,8 @@ QEMU_AUDIO_DRV=none \
-device pci-bridge,chassis_nr=6,id=pci.6,bus=pci.0,addr=0x8 \
-device pci-bridge,chassis_nr=7,id=pci.7,bus=pci.0,addr=0x9 \
-usb \
-drive file=/var/iso/f18kde.iso,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/var/iso/f18kde.iso,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-vga cirrus \
-device virtio-balloon-pci,id=balloon0,bus=pci.7,addr=0x6
tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-idx.args
浏览文件 @
ec9d1995
...
...
@@ -24,7 +24,8 @@ QEMU_AUDIO_DRV=none \
-device pci-bridge,chassis_nr=6,id=pci.6,bus=pci.0,addr=0x9 \
-device pci-bridge,chassis_nr=7,id=pci.7,bus=pci.0,addr=0xa \
-usb \
-drive file=/var/iso/f18kde.iso,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/var/iso/f18kde.iso,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-vga cirrus \
-device virtio-balloon-pci,id=balloon0,bus=pci.4,addr=0x6
tests/qemuxml2argvdata/qemuxml2argv-pci-autofill-addr.args
浏览文件 @
ec9d1995
...
...
@@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=none \
-boot c \
-usb \
-drive file=/var/iso/f18kde.iso,format=raw,if=none,media=cdrom,\
id=drive-virtio-disk0 \
id=drive-virtio-disk0
,readonly=on
\
-device virtio-blk-pci,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,\
id=virtio-disk0 \
-vga cirrus \
...
...
tests/qemuxml2argvdata/qemuxml2argv-pci-many.args
浏览文件 @
ec9d1995
...
...
@@ -16,7 +16,8 @@ QEMU_AUDIO_DRV=none \
-monitor unix:/tmp/lib/domain--1-fdr-br/monitor.sock,server,nowait \
-boot c \
-usb \
-drive file=/var/iso/f18kde.iso,format=raw,if=none,media=cdrom,id=drive-ide0-1-0 \
-drive file=/var/iso/f18kde.iso,format=raw,if=none,media=cdrom,id=drive-ide0-1-0,\
readonly=on \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-drive file=/var/lib/libvirt/images/test.img,format=raw,if=none,\
id=drive-virtio-disk0 \
...
...
tests/qemuxml2argvtest.c
浏览文件 @
ec9d1995
...
...
@@ -300,6 +300,7 @@ static int testCompareXMLToArgvFiles(const char *xml,
virQEMUCapsSetList
(
extraFlags
,
QEMU_CAPS_NO_ACPI
,
QEMU_CAPS_DEVICE
,
QEMU_CAPS_DRIVE_READONLY
,
QEMU_CAPS_LAST
);
if
(
STREQ
(
vm
->
def
->
os
.
machine
,
"pc"
)
&&
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录