added spicevmc channel to domain_all_settings.xml and domain_spec.rb

This commit is contained in:
Andreas Bleischwitz
2017-11-28 18:23:47 +01:00
parent a64c538f7f
commit bef59efe6b
2 changed files with 9 additions and 3 deletions

View File

@@ -62,14 +62,17 @@
</console> </console>
<channel type='unix' > <channel type='unix' >
<source mode=''
/>
<target type='virtio' <target type='virtio'
name="org.qemu.guest_agent.0" name="org.qemu.guest_agent.0"
/> />
</channel> </channel>
<channel type='spicevmc' >
<target type='virtio'
name="com.redhat.spice.0"
/>
</channel>
<channel type='unix' > <channel type='unix' >
<source mode='' <source
path="/tmp/foo" path="/tmp/foo"
/> />
<target type='guestfwd' <target type='guestfwd'

View File

@@ -52,6 +52,9 @@ describe 'templates/domain' do
domain.channel(type: 'unix', domain.channel(type: 'unix',
target_name: 'org.qemu.guest_agent.0', target_name: 'org.qemu.guest_agent.0',
target_type: 'virtio') target_type: 'virtio')
domain.channel(type: 'spicevmc',
target_name: 'com.redhat.spice.0',
target_type: 'virtio')
domain.channel(type: 'unix', domain.channel(type: 'unix',
target_type: 'guestfwd', target_type: 'guestfwd',
target_address: '192.0.2.42', target_address: '192.0.2.42',