Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
dfb48349
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看板
提交
dfb48349
编写于
4月 29, 2013
作者:
J
Ján Tomko
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
qemu: honor allowDiskFormatProbing when parsing command line
My commit
024e9af3
broke this.
上级
d0f7fd99
变更
57
显示空白变更内容
内联
并排
Showing
57 changed file
with
72 addition
and
75 deletion
+72
-75
src/qemu/qemu_command.c
src/qemu/qemu_command.c
+0
-3
tests/qemuxml2argvdata/qemuxml2argv-boot-cdrom.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-cdrom.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-boot-floppy.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-floppy.xml
+2
-2
tests/qemuxml2argvdata/qemuxml2argv-boot-network.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-network.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-clock-localtime.xml
tests/qemuxml2argvdata/qemuxml2argv-clock-localtime.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-clock-utc.xml
tests/qemuxml2argvdata/qemuxml2argv-clock-utc.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-console-compat.xml
tests/qemuxml2argvdata/qemuxml2argv-console-compat.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.xml
+2
-2
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom.xml
+2
-2
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.xml
...s/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.xml
+2
-2
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.xml
+2
-2
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-rbd-ceph-env.xml
...argvdata/qemuxml2argv-disk-drive-network-rbd-ceph-env.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-floppy.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-floppy.xml
+3
-3
tests/qemuxml2argvdata/qemuxml2argv-disk-many.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-many.xml
+4
-4
tests/qemuxml2argvdata/qemuxml2argv-disk-usb.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-usb.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio.xml
+4
-4
tests/qemuxml2argvdata/qemuxml2argv-disk-xenvbd.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-xenvbd.xml
+4
-4
tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml
...qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-socket.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-socket.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-input-usbmouse.xml
tests/qemuxml2argvdata/qemuxml2argv-input-usbmouse.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-input-usbtablet.xml
tests/qemuxml2argvdata/qemuxml2argv-input-usbtablet.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-machine-core-off.xml
tests/qemuxml2argvdata/qemuxml2argv-machine-core-off.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-machine-core-on.xml
tests/qemuxml2argvdata/qemuxml2argv-machine-core-on.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-migrate.xml
tests/qemuxml2argvdata/qemuxml2argv-migrate.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-misc-acpi.xml
tests/qemuxml2argvdata/qemuxml2argv-misc-acpi.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-misc-disable-s3.xml
tests/qemuxml2argvdata/qemuxml2argv-misc-disable-s3.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-misc-disable-suspends.xml
...s/qemuxml2argvdata/qemuxml2argv-misc-disable-suspends.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-misc-enable-s4.xml
tests/qemuxml2argvdata/qemuxml2argv-misc-enable-s4.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-misc-no-reboot.xml
tests/qemuxml2argvdata/qemuxml2argv-misc-no-reboot.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-misc-uuid.xml
tests/qemuxml2argvdata/qemuxml2argv-misc-uuid.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-net-eth-ifname.xml
tests/qemuxml2argvdata/qemuxml2argv-net-eth-ifname.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-net-eth.xml
tests/qemuxml2argvdata/qemuxml2argv-net-eth.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-net-user.xml
tests/qemuxml2argvdata/qemuxml2argv-net-user.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-net-virtio.xml
tests/qemuxml2argvdata/qemuxml2argv-net-virtio.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-nographics-vga.xml
tests/qemuxml2argvdata/qemuxml2argv-nographics-vga.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-parallel-tcp.xml
tests/qemuxml2argvdata/qemuxml2argv-parallel-tcp.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-qemu-ns-no-env.xml
tests/qemuxml2argvdata/qemuxml2argv-qemu-ns-no-env.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-restore-v1.xml
tests/qemuxml2argvdata/qemuxml2argv-restore-v1.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-restore-v2.xml
tests/qemuxml2argvdata/qemuxml2argv-restore-v2.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-serial-dev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-dev.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-serial-file.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-file.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-serial-many.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-many.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-serial-pty.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-pty.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-serial-udp.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-udp.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-serial-unix.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-unix.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-serial-vc.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-vc.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-smp.xml
tests/qemuxml2argvdata/qemuxml2argv-smp.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-sound.xml
tests/qemuxml2argvdata/qemuxml2argv-sound.xml
+1
-1
tests/qemuxml2argvdata/qemuxml2argv-watchdog.xml
tests/qemuxml2argvdata/qemuxml2argv-watchdog.xml
+1
-1
未找到文件。
src/qemu/qemu_command.c
浏览文件 @
dfb48349
...
@@ -8540,7 +8540,6 @@ qemuParseCommandLineDisk(virDomainXMLOptionPtr xmlopt,
...
@@ -8540,7 +8540,6 @@ qemuParseCommandLineDisk(virDomainXMLOptionPtr xmlopt,
def
->
bus
=
VIR_DOMAIN_DISK_BUS_IDE
;
def
->
bus
=
VIR_DOMAIN_DISK_BUS_IDE
;
def
->
device
=
VIR_DOMAIN_DISK_DEVICE_DISK
;
def
->
device
=
VIR_DOMAIN_DISK_DEVICE_DISK
;
def
->
type
=
VIR_DOMAIN_DISK_TYPE_FILE
;
def
->
type
=
VIR_DOMAIN_DISK_TYPE_FILE
;
def
->
format
=
VIR_STORAGE_FILE_AUTO
;
for
(
i
=
0
;
i
<
nkeywords
;
i
++
)
{
for
(
i
=
0
;
i
<
nkeywords
;
i
++
)
{
if
(
STREQ
(
keywords
[
i
],
"file"
))
{
if
(
STREQ
(
keywords
[
i
],
"file"
))
{
...
@@ -9788,8 +9787,6 @@ virDomainDefPtr qemuParseCommandLine(virCapsPtr qemuCaps,
...
@@ -9788,8 +9787,6 @@ virDomainDefPtr qemuParseCommandLine(virCapsPtr qemuCaps,
if
(
VIR_ALLOC
(
disk
)
<
0
)
if
(
VIR_ALLOC
(
disk
)
<
0
)
goto
no_memory
;
goto
no_memory
;
disk
->
format
=
VIR_STORAGE_FILE_AUTO
;
if
(
STRPREFIX
(
val
,
"/dev/"
))
if
(
STRPREFIX
(
val
,
"/dev/"
))
disk
->
type
=
VIR_DOMAIN_DISK_TYPE_BLOCK
;
disk
->
type
=
VIR_DOMAIN_DISK_TYPE_BLOCK
;
else
if
(
STRPREFIX
(
val
,
"nbd:"
))
{
else
if
(
STRPREFIX
(
val
,
"nbd:"
))
{
...
...
tests/qemuxml2argvdata/qemuxml2argv-boot-cdrom.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'cdrom'
>
<disk
type=
'block'
device=
'cdrom'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/cdrom'
/>
<source
dev=
'/dev/cdrom'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<readonly/>
<readonly/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-boot-floppy.xml
浏览文件 @
dfb48349
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'file'
device=
'floppy'
>
<disk
type=
'file'
device=
'floppy'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
file=
'/tmp/firmware.img'
/>
<source
file=
'/tmp/firmware.img'
/>
<target
dev=
'fda'
bus=
'fdc'
/>
<target
dev=
'fda'
bus=
'fdc'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-boot-network.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-clock-localtime.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-clock-utc.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-console-compat.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.xml
浏览文件 @
dfb48349
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'file'
device=
'cdrom'
>
<disk
type=
'file'
device=
'cdrom'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<readonly/>
<readonly/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom.xml
浏览文件 @
dfb48349
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'file'
device=
'cdrom'
>
<disk
type=
'file'
device=
'cdrom'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
file=
'/root/boot.iso'
/>
<source
file=
'/root/boot.iso'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<readonly/>
<readonly/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.xml
浏览文件 @
dfb48349
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'block'
device=
'cdrom'
>
<disk
type=
'block'
device=
'cdrom'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.xml
浏览文件 @
dfb48349
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'block'
device=
'cdrom'
>
<disk
type=
'block'
device=
'cdrom'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-rbd-ceph-env.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-floppy.xml
浏览文件 @
dfb48349
...
@@ -15,19 +15,19 @@
...
@@ -15,19 +15,19 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'block'
device=
'floppy'
>
<disk
type=
'block'
device=
'floppy'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/fd0'
/>
<source
dev=
'/dev/fd0'
/>
<target
dev=
'fda'
bus=
'fdc'
/>
<target
dev=
'fda'
bus=
'fdc'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'file'
device=
'floppy'
>
<disk
type=
'file'
device=
'floppy'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
file=
'/tmp/firmware.img'
/>
<source
file=
'/tmp/firmware.img'
/>
<target
dev=
'fdb'
bus=
'fdc'
/>
<target
dev=
'fdb'
bus=
'fdc'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'1'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'1'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-many.xml
浏览文件 @
dfb48349
...
@@ -15,25 +15,25 @@
...
@@ -15,25 +15,25 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<target
dev=
'hdb'
bus=
'ide'
/>
<target
dev=
'hdb'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'1'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'1'
/>
</disk>
</disk>
<disk
type=
'file'
device=
'disk'
>
<disk
type=
'file'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
file=
'/tmp/data.img'
/>
<source
file=
'/tmp/data.img'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'file'
device=
'disk'
>
<disk
type=
'file'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
file=
'/tmp/logs.img'
/>
<source
file=
'/tmp/logs.img'
/>
<target
dev=
'hdd'
bus=
'ide'
/>
<target
dev=
'hdd'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'1'
/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'1'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-usb.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio.xml
浏览文件 @
dfb48349
...
@@ -15,25 +15,25 @@
...
@@ -15,25 +15,25 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'block'
device=
'cdrom'
>
<disk
type=
'block'
device=
'cdrom'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<readonly/>
<readonly/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'file'
device=
'disk'
>
<disk
type=
'file'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
file=
'/tmp/data.img'
/>
<source
file=
'/tmp/data.img'
/>
<target
dev=
'vda'
bus=
'virtio'
/>
<target
dev=
'vda'
bus=
'virtio'
/>
</disk>
</disk>
<disk
type=
'file'
device=
'disk'
>
<disk
type=
'file'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
file=
'/tmp/logs.img'
/>
<source
file=
'/tmp/logs.img'
/>
<target
dev=
'vdb'
bus=
'virtio'
/>
<target
dev=
'vdb'
bus=
'virtio'
/>
</disk>
</disk>
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-xenvbd.xml
浏览文件 @
dfb48349
...
@@ -15,25 +15,25 @@
...
@@ -15,25 +15,25 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'block'
device=
'cdrom'
>
<disk
type=
'block'
device=
'cdrom'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
<readonly/>
<readonly/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'1'
target=
'0'
unit=
'0'
/>
</disk>
</disk>
<disk
type=
'file'
device=
'disk'
>
<disk
type=
'file'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
file=
'/tmp/data.img'
/>
<source
file=
'/tmp/data.img'
/>
<target
dev=
'xvda'
bus=
'xen'
/>
<target
dev=
'xvda'
bus=
'xen'
/>
</disk>
</disk>
<disk
type=
'file'
device=
'disk'
>
<disk
type=
'file'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
file=
'/tmp/logs.img'
/>
<source
file=
'/tmp/logs.img'
/>
<target
dev=
'xvdg'
bus=
'xen'
/>
<target
dev=
'xvdg'
bus=
'xen'
/>
</disk>
</disk>
...
...
tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-socket.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-input-usbmouse.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-input-usbtablet.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-machine-core-off.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-machine-core-on.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-migrate.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-misc-acpi.xml
浏览文件 @
dfb48349
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-misc-disable-s3.xml
浏览文件 @
dfb48349
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-misc-disable-suspends.xml
浏览文件 @
dfb48349
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-misc-enable-s4.xml
浏览文件 @
dfb48349
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-misc-no-reboot.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-misc-uuid.xml
浏览文件 @
dfb48349
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-net-eth-ifname.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-net-eth.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-net-user.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-net-virtio.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-nographics-vga.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-parallel-tcp.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-qemu-ns-no-env.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-restore-v1.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-restore-v2.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-serial-dev.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-serial-file.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-serial-many.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-serial-pty.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-serial-udp.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-serial-unix.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-serial-vc.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-smp.xml
浏览文件 @
dfb48349
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-sound.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
tests/qemuxml2argvdata/qemuxml2argv-watchdog.xml
浏览文件 @
dfb48349
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<devices>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<disk
type=
'block'
device=
'disk'
>
<driver
name=
'qemu'
/>
<driver
name=
'qemu'
type=
'raw'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<target
dev=
'hda'
bus=
'ide'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
<address
type=
'drive'
controller=
'0'
bus=
'0'
target=
'0'
unit=
'0'
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录