Comment 5 for bug 1956366

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi Andrea,
thanks for the bug and fix.

This worked in the past with older/other qemu binaries.
I double checked my memory on this, but it indeed works.

#1 Focal with qemu 4.2

ubuntu@node-horsea:~$ uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily arch=armhf label=daily release=jammy
Adding: com.ubuntu.cloud.daily:server:22.04:armhf 20220104
ubuntu@node-horsea:~$ sudo uvt-kvm create --guest-arch armhf --memory 2048 --cpu 2 --password ubuntu j-armhf arch=armhf release=jammy label=daily
Warning: using --password from the command line is not secure and should be used for debugging only.
Warning: '/root/.ssh/id_rsa.pub' not found; instance will be started with no ssh access by default.
ubuntu@node-horsea:~$ virsh list
 Id Name State
-------------------------
 1 j-armhf running

#2 Focal with qemu 6.0 from server-backports

$ uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily arch=armhf label=daily release=jammy
Adding: com.ubuntu.cloud.daily:server:22.04:armhf 20220104
Removing: com.ubuntu.cloud.daily:server:22.04:armhf 20211127
$ sudo uvt-kvm create --guest-arch armhf --memory 2048 --cpu 2 --password ubuntu j-armhf arch=armhf release=jammy label=daily
[sudo] password for paelzer:
Warning: using --password from the command line is not secure and should be used for debugging only.
$ virsh list
 Id Name State
-------------------------
 2 j-armhf running

#3 New jammy VM (qemu 6.0)

ubuntu@j:~$ uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily arch=armhf label=daily release=jammy
Adding: com.ubuntu.cloud.daily:server:22.04:armhf 20220104
ubuntu@j:~$ sudo uvt-kvm create --guest-arch armhf --memory 256 --cpu 1 --password ubuntu j-armhf arch=armhf release=jammy label=daily
Warning: using --password from the command line is not secure and should be used for debugging only.
Warning: '/root/.ssh/id_rsa.pub' not found; instance will be started with no ssh access by default.
uvt-kvm: error: libvirt: unsupported configuration: ps2 is not supported by this QEMU binary

Ok, so it really is only relevant in the new Ubuntu releases (any my memory was not wrong).

I agree that we do not need the ps2 mouse there and probably can merge it as suggested (well, jammy first, then for impish - usual SRU flow).