我要评分
获取效率
正确性
完整性
易理解

QEMU Error

Symptom

Error log: device requires xxx bytes, block backend provides xxx bytes.

Root Cause Analysis

QEMU_EFI.fd is not aligned.

Solution

Align QEMU_EFI.fd by following the instructions in Deploying EDK2.

Symptom

Error log: qemu-system-aarch64: -accel kvm: info: [qemu] fix VIRT_MEM range 0xc0000000 - 0x2c0000000.

Root Cause Analysis

The minimum memory mapping address is not configured.

Solution

# Add the kernel parameter on the compute node.
sudo sysctl -w vm.mmap_min_addr="65536"
# Make the changes permanent.
echo "vm.mmap_min_addr=65536" | sudo tee -a /etc/sysctl.conf