I hacked up this:
--- virt/autopkgtest-virt-qemu.orig 2016-10-06 07:13:55.409049291 -0400
+++ virt/autopkgtest-virt-qemu 2016-10-06 07:21:49.639298404 -0400
@@ -525,6 +525,8 @@
nic_opt = ''
# start QEMU
+ #'-serial', 'unix:%s/ttyS0,server,nowait' % workdir,
+ #'-serial', 'unix:%s/ttyS1,server,nowait' % workdir,
argv = [args.qemu_command,
'-m', str(args.ram_size),
'-smp', str(args.cpus),
@@ -532,8 +534,11 @@
'-net', 'nic,model=virtio',
'-net', 'user' + nic_opt,
'-monitor', 'unix:%s/monitor,server,nowait' % workdir,
- '-serial', 'unix:%s/ttyS0,server,nowait' % workdir,
- '-serial', 'unix:%s/ttyS1,server,nowait' % workdir,
+ '-device', 'virtio-serial',
+ '-chardev', 'socket,path=%s/ttyS0,server,nowait,id=ttyS0' %
workdir,
+ '-device',
'virtconsole,chardev=ttyS0,name=org.fedoraproject.console.ttyS0',
+ '-chardev', 'socket,path=%s/ttyS1,server,nowait,id=ttyS1' %
workdir,
+ '-device',
'virtconsole,chardev=ttyS1,name=org.fedoraproject.console.ttyS1',
'-virtfs',
'local,id=autopkgtest,path=%s,security_model=none,mount_tag=autopkgtest' %
shareddir,
'-drive', 'file=%s,cache=unsafe,if=virtio,index=0' % overlay]
And ran it with:
sudo ~/autopkgtest-4.1/runner/adt-run -ddd --shell-fail --apt-upgrade
--no-built-binaries --source neutron_9.0.0~rc3-0ubuntu1.dsc --- adt-virt-qemu
--cpus 4 --ram-size=2048 --user ubuntu --password ubuntu
~/autopkgtest-yakkety-s390x.img
But that runs into various issues not s390x related - I opened extra bug
1630963 for those as far as I could debug them easily.
Leaving this for you consideration and proper inclusion once you find
the time (and s390x machine).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1630909
Title:
failing console access on s390x
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1630909/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs