mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
committed by
Martin Kletzander
parent
e4200bbb9d
commit
ed8f236491
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
8
tests/qemuhotplugtestdevices/qemuhotplug-ccw-virtio.xml
Normal file
8
tests/qemuhotplugtestdevices/qemuhotplug-ccw-virtio.xml
Normal 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>
|
||||
Reference in New Issue
Block a user