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).
I hacked up this: t-virt- qemu.orig 2016-10-06 07:13:55.409049291 -0400 t-virt- qemu 2016-10-06 07:21:49.639298404 -0400
--- virt/autopkgtes
+++ virt/autopkgtes
@@ -525,6 +525,8 @@
nic_opt = ''
# start QEMU s/ttyS0, server, nowait' % workdir, s/ttyS1, server, nowait' % workdir,
' -smp', str(args.cpus),
' -net', 'nic,model=virtio',
' -net', 'user' + nic_opt,
' -monitor' , 'unix:% s/monitor, server, nowait' % workdir, s/ttyS0, server, nowait' % workdir, s/ttyS1, server, nowait' % workdir, path=%s/ ttyS0,server, nowait, id=ttyS0' % workdir, chardev= ttyS0,name= org.fedoraproje ct.console. ttyS0', path=%s/ ttyS1,server, nowait, id=ttyS1' % workdir, chardev= ttyS1,name= org.fedoraproje ct.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]
+ #'-serial', 'unix:%
+ #'-serial', 'unix:%
argv = [args.qemu_command,
'-m', str(args.ram_size),
@@ -532,8 +534,11 @@
- '-serial', 'unix:%
- '-serial', 'unix:%
+ '-device', 'virtio-serial',
+ '-chardev', 'socket,
+ '-device', 'virtconsole,
+ '-chardev', 'socket,
+ '-device', 'virtconsole,
And ran it with: 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
sudo ~/autopkgtest-
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).