s390x needs a different template

Bug #1624260 reported by Christian Ehrhardt 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uvtool
Triaged
Undecided
Unassigned
uvtool (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Hi,
running uvtool on s390 I found that with just a slightly custom template things would work there as well.
I like in general that the template is slim and leaves most things just at defaults, but s390 can't provide a isa serial and a video.

So the diff to make s390x work would be:
--- /usr/share/uvtool/libvirt/template.xml 2015-04-13 16:32:11.000000000 +0000
+++ s390-template.xml 2016-09-16 08:00:36.359676789 +0000
@@ -13,13 +13,10 @@
       <source network='default'/>
       <model type='virtio'/>
     </interface>
- <serial type='pty'>
+ <console type='pty' tty='/dev/pts/3'>
       <source path='/dev/pts/3'/>
- <target port='0'/>
- </serial>
- <graphics type='vnc' autoport='yes' listen='127.0.0.1'>
- <listen type='address' address='127.0.0.1'/>
- </graphics>
- <video/>
+ <target type='sclp' port='0'/>
+ <alias name='console0'/>
+ </console>
   </devices>
 </domain>

In case you ever get to do any arch split in template selection that should get you going.

Tags: architecture
summary: - s390 needs a different template
+ s390x needs a different template
Revision history for this message
Robie Basak (racb) wrote :

We think that this template change may break the --log-console-output uvt-kvm create option, so how we approach this may need a rethink.

Robie Basak (racb)
tags: added: architecture
Changed in uvtool:
status: New → Triaged
Changed in uvtool (Ubuntu):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.