uvt-kvm fails to create armhf VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uvtool |
Fix Committed
|
Undecided
|
Unassigned | ||
Ubuntu |
Confirmed
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
[Impact]
uvt-kvm is always failing to create armhf VMs.
[Test case]
$ uvt-simplestrea
$ 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/
<input type='mouse' bus='ps2'/>
We should just remove this line from the default armhf libvirt template.
Related branches
- Robie Basak: Needs Resubmitting
- Ubuntu Sponsors: Pending requested
-
Diff: 86 lines (+39/-0) (has conflicts)4 files modifiedsetup.py (+5/-0)
template-emu-riscv64.xml (+21/-0)
uvtool/libvirt/__init__.py (+8/-0)
uvtool/libvirt/kvm.py (+5/-0)
debdiff in attach seems to fix the problem for me.