qemuhotplugtest: Add tests for ccw devices

There's a plan to rework the address handling, so testcases
that verify hotplugging ccw devices will help in avoiding
regression.

In this commit, some files are duplicated because of the way
qemuhotplug.c calculates the expected xml filenames.
I plan on changing that to explicitly stating the basis domain
xml, the device xml, and the expected xml.
This commit is contained in:
Tomasz Flendrich
2016-07-22 20:10:47 +02:00
committed by Martin Kletzander
parent e4200bbb9d
commit ed8f236491
14 changed files with 610 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/dev/null'/>
<target dev='vde' bus='virtio'/>
<readonly/>
<shareable/>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
</disk>

View File

@@ -0,0 +1,7 @@
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/dev/null'/>
<target dev='hdb' bus='virtio'/>
<readonly/>
<shareable/>
</disk>

View File

@@ -0,0 +1,8 @@
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/dev/null'/>
<target dev='hda' bus='virtio'/>
<readonly/>
<shareable/>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/>
</disk>

View File

@@ -0,0 +1,8 @@
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/dev/null'/>
<target dev='hda' bus='virtio'/>
<readonly/>
<shareable/>
<address type='ccw'/>
</disk>

View File

@@ -0,0 +1,8 @@
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/dev/null'/>
<target dev='vde' bus='virtio'/>
<readonly/>
<shareable/>
<address type='ccw'/>
</disk>