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:
Tomasz Flendrich
2016-07-08 00:53:19 +02:00
committed by Martin Kletzander
parent ec5dcf2a5d
commit b0b4a35c53
33 changed files with 121 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
<console type='pty'>
<source path='/dev/pts/26'/>
<target type='virtio' port='1'/>
</console>

View File

@@ -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>

View 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>

View 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>

View 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>

View 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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -0,0 +1 @@
<graphics type='spice' port='5900' autoport='no' passwd='sercet' passwdValidTo='2011-05-31T16:11:22' connected='disconnect'/>

View File

@@ -0,0 +1 @@
<graphics type='spice' port='5900' autoport='no' passwd='secret' passwdValidTo='2013-05-31T16:11:22' connected='disconnect'/>

View File

@@ -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>

View 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>