Public bug reported:

[Impact]

uvt-kvm is always failing to create armhf VMs.

[Test case]

$ uvt-simplestreams-libvirt --verbose sync --source 
http://cloud-images.ubuntu.com/daily release=jammy arch=armhf
$ uvt-kvm create --guest-arch armhf --cpu 4 --memory 4096 --disk 32 mytestvm 
release=jammy arch=armhf

The VM can't be created and the last command returns the following
error:

 uvt-kvm ps2 is not supported by this QEMU binary

[Fix]

The ps2 bus is not available on armhf, this is why qemu is complaining
about it.

I fixed this manually by removing the following line from the armhf xml
template (/usr/share/uvtool/libvirt/template-emu-armhf.xml):

 <input type='mouse' bus='ps2'/>

We should just remove this line from the default armhf libvirt template.

** Affects: ubuntu
     Importance: Undecided
         Status: New

** Affects: Ubuntu Impish
     Importance: Undecided
         Status: New

** Affects: Ubuntu Jammy
     Importance: Undecided
         Status: New

** Also affects: Ubuntu Jammy
   Importance: Undecided
       Status: New

** Also affects: Ubuntu Impish
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956366

Title:
  uvt-kvm fails to create armhf VM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1956366/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to