mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemuhotplugtest: Move domain and device XMLs to different directories
This way we can safely differentiate what XMLs contain whole domain definitions and which contain just devices. Thanks to that we can test the domain XMLs in virschematest again. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
committed by
Martin Kletzander
parent
ec5dcf2a5d
commit
b0b4a35c53
@@ -0,0 +1,4 @@
|
||||
<console type='pty'>
|
||||
<source path='/dev/pts/26'/>
|
||||
<target type='virtio' port='1'/>
|
||||
</console>
|
||||
@@ -0,0 +1,6 @@
|
||||
<disk type='block' device='disk'>
|
||||
<driver name='qemu' type='raw'/>
|
||||
<source dev='/dev/HostVG/QEMUGuest1'/>
|
||||
<target dev='hda' bus='ide'/>
|
||||
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
||||
</disk>
|
||||
8
tests/qemuhotplugtestdevices/qemuhotplug-disk-scsi-2.xml
Normal file
8
tests/qemuhotplugtestdevices/qemuhotplug-disk-scsi-2.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='sdf' bus='scsi'/>
|
||||
<address type='drive' controller='3' bus='0' target='5' unit='7'/>
|
||||
<readonly/>
|
||||
<shareable/>
|
||||
</disk>
|
||||
7
tests/qemuhotplugtestdevices/qemuhotplug-disk-scsi.xml
Normal file
7
tests/qemuhotplugtestdevices/qemuhotplug-disk-scsi.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='qemu' type='raw' cache='none'/>
|
||||
<source file='/dev/null'/>
|
||||
<target dev='sdf' bus='scsi'/>
|
||||
<readonly/>
|
||||
<shareable/>
|
||||
</disk>
|
||||
7
tests/qemuhotplugtestdevices/qemuhotplug-disk-usb.xml
Normal file
7
tests/qemuhotplugtestdevices/qemuhotplug-disk-usb.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='qemu' type='raw' cache='none'/>
|
||||
<source file='/dev/null'/>
|
||||
<target dev='sdq' bus='usb'/>
|
||||
<readonly/>
|
||||
<shareable/>
|
||||
</disk>
|
||||
7
tests/qemuhotplugtestdevices/qemuhotplug-disk-virtio.xml
Normal file
7
tests/qemuhotplugtestdevices/qemuhotplug-disk-virtio.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='qemu' type='raw' cache='none'/>
|
||||
<source file='/dev/null'/>
|
||||
<target dev='vde' bus='virtio'/>
|
||||
<readonly/>
|
||||
<shareable/>
|
||||
</disk>
|
||||
@@ -0,0 +1,11 @@
|
||||
<graphics autoport='yes' connected='disconnect' keymap='en-us' passwd='password2' passwdValidTo='2013-06-20T01:34:37' port='5900' tlsPort='5901' type='spice'>
|
||||
<listen address='10.65.210.231' network='vdsm-rhevm' type='network'/>
|
||||
<channel mode='secure' name='main'/>
|
||||
<channel mode='secure' name='display'/>
|
||||
<channel mode='secure' name='inputs'/>
|
||||
<channel mode='secure' name='cursor'/>
|
||||
<channel mode='secure' name='playback'/>
|
||||
<channel mode='secure' name='record'/>
|
||||
<channel mode='secure' name='smartcard'/>
|
||||
<channel mode='secure' name='usbredir'/>
|
||||
</graphics>
|
||||
@@ -0,0 +1,11 @@
|
||||
<graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='192.168.0.1' defaultMode='secure'>
|
||||
<listen type='address' address='192.168.0.1'/>
|
||||
<channel name='main' mode='secure'/>
|
||||
<channel name='inputs' mode='insecure'/>
|
||||
<image compression='auto_glz'/>
|
||||
<jpeg compression='auto'/>
|
||||
<zlib compression='auto'/>
|
||||
<playback compression='on'/>
|
||||
<streaming mode='filter'/>
|
||||
<clipboard copypaste='no'/>
|
||||
</graphics>
|
||||
@@ -0,0 +1,11 @@
|
||||
<graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1' defaultMode='secure'>
|
||||
<listen type='address' address='127.0.0.1'/>
|
||||
<channel name='main' mode='secure'/>
|
||||
<channel name='inputs' mode='insecure'/>
|
||||
<image compression='auto_glz'/>
|
||||
<jpeg compression='auto'/>
|
||||
<zlib compression='auto'/>
|
||||
<playback compression='on'/>
|
||||
<streaming mode='filter'/>
|
||||
<clipboard copypaste='no'/>
|
||||
</graphics>
|
||||
@@ -0,0 +1 @@
|
||||
<graphics type='spice' port='5900' autoport='no' passwd='sercet' passwdValidTo='2011-05-31T16:11:22' connected='disconnect'/>
|
||||
@@ -0,0 +1 @@
|
||||
<graphics type='spice' port='5900' autoport='no' passwd='secret' passwdValidTo='2013-05-31T16:11:22' connected='disconnect'/>
|
||||
@@ -0,0 +1,5 @@
|
||||
<channel type='unix'>
|
||||
<source mode='bind' path='/tmp/channel/domain-7-hotplug/org.qemu.guest_agent.0'/>
|
||||
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||
</channel>
|
||||
5
tests/qemuhotplugtestdevices/qemuhotplug-qemu-agent.xml
Normal file
5
tests/qemuhotplugtestdevices/qemuhotplug-qemu-agent.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<channel type='unix'>
|
||||
<source mode='bind'/>
|
||||
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||
</channel>
|
||||
Reference in New Issue
Block a user