qemu-system-arm is missing dependency seabios
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Triaged
|
Undecided
|
Sergio Durigan Junior |
Bug Description
qemu-system-arm is missing seabios as dependency. As a result if you install charm nova-compute on arm64 machines and try to create a VM on the arm64 hypervisor, VM creation will fail with:
2023-09-01 13:12:00.329 189585 ERROR nova.virt.
Workaround is to install manually the dependency with:
apt install seabios
tags: | added: server-triage-discuss |
Changed in qemu (Ubuntu): | |
assignee: | nobody → Sergio Durigan Junior (sergiodj) |
tags: | removed: server-todo |
This is ... unexpected.
I set up an arm64 machine and ran a normal (read no special config in any way) guest via libvirt/qemu/kvm
It works fine and seabios is not installed at this moment.
Guest config looks like:
<domain type='kvm'> jammy-cpaelzer< /name> 7dcae1b1- 3caa-462c- b91d-b6af643a9d bc</uuid> >524288< /memory> >524288< /currentMemory> 'static' >1</vcpu> 'virt-6. 2'>hvm< /type> >/usr/share/ AAVMF/AAVMF_ CODE.fd< /loader> '/usr/share/ AAVMF/AAVMF_ CODE.fd' >/var/lib/ libvirt/ qemu/nvram/ jammy-cpaelzer_ VARS.fd< /nvram> passthrough' check='none'/> destroy< /on_poweroff> restart< /on_reboot> destroy< /on_crash> /usr/bin/ qemu-system- aarch64< /emulator> var/lib/ uvtool/ libvirt/ images/ jammy-cpaelzer. qcow'/> var/lib/ uvtool/ libvirt/ images/ jammy-cpaelzer- ds.qcow' /> pcie-root- port'> root-port' /> 'on'/> pcie-root- port'> root-port' /> pcie-root- port'> root-port' /> pcie-root- port'> root-port' /> pcie-root- port'> root-port' /> serial' index='0'> '52:54: 00:d9:1b: cc'/>
<name>
<uuid>
<metadata>
<memory unit='KiB'
<currentMemory unit='KiB'
<vcpu placement=
<os>
<type arch='aarch64' machine=
<loader readonly='yes' type='pflash'
<nvram template=
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
<gic version='3'/>
</features>
<cpu mode='host-
<clock offset='utc'/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/
<target dev='vdb' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='
<model name='pcie-
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction=
</controller>
<controller type='pci' index='2' model='
<model name='pcie-
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='
<model name='pcie-
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='
<model name='pcie-
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='
<model name='pcie-
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='virtio-
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address=
<source network='default'/>
<model type='virtio'/>
<address type='...