W dniu 02.11.2020 o 05:00, Ryutaroh Matsumoto pisze:
Package: qemu-system-arm
Version: 1:5.1+dfsg-4+b1
Severity: minor

Dear Maintainer,

# cp /usr/share/AAVMF/AAVMF_VARS.fd /var/tmp/efivars.fd; qemu-system-aarch64 \
  -machine sbsa-ref -cpu cortex-a57  -nographic -net nic,model=virtio \
  -net user -object rng-random,filename=/dev/urandom,id=rng0 \
  -device virtio-rng-pci,rng=rng0,id=rng-device0 \
  -drive file=/var/lib/debci/qemu/sid-arm64.img,if=virtio,index=0,format=qcow2 \
  -drive if=pflash,format=raw,read-only,file=/usr/share/AAVMF/AAVMF_CODE.fd \
  -drive if=pflash,format=raw,file=/var/tmp/efivars.fd -m 1024

gives the error
qemu-system-aarch64: device requires 268435456 bytes, block backend provides 
67108864 bytes

On the other hand, if I change -machine sbsa-ref to -machine virt,
it works fine as

SBSA Reference Platform requires both UEFI firmware and UEFI variables file to be 256MB in size.

Virt machine uses 64MB files.

So it is not a bug in qemu.

Reply via email to