s390x needs a different template
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/
+++ 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=
- </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.
summary: |
- s390 needs a different template + s390x needs a different template |
tags: | added: architecture |
Changed in uvtool: | |
status: | New → Triaged |
Changed in uvtool (Ubuntu): | |
status: | New → Triaged |
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.