qemu-system-aarch64 -M virt -cpu host -accel kvm -m 2G -smp 2 -device ramfb -bios…
- User
qemu-system-aarch64 -M virt -cpu host -accel kvm -m 2G -smp 2 -device ramfb -bios /usr/share/qemu/qemu-uefi-aarch64.bin -device qemu-xhci -device usb-kbd -device usb-tablet -drive file=/home/jayden/Downloads/Windows11_InsiderPreview_Client_ARM64_en-us_22598.VHDX,format=vhdx,if=none,id=boot -device usb-storage,drive=boot,serial=boot -drive file=/home/jayden/Downloads/virtio-win-0.1.248.iso,media=cdrom,if=none,id=iso -device usb-storage,drive=iso -nic user,model=virtio-net-pci,mac=52:54:98:76:54:32 -vnc :0 qemu-system-aarch64: Could not find ROM image '/usr/share/qemu/qemu-uefi-aarch64.bin' fedora
- Assistant
The error message you're encountering,
qemu-system-aarch64: Could not find ROM image '/usr/share/qemu/qemu-uefi-aarch64.bin', suggests that the path to the UEFI firmware (qemu-uefi-aarch64.bin) is either incorrect or the firmware file does not exist at the specified location.To resolve this issue, here are several steps you can follow:
- User
Unable to complete install: 'internal error: QEMU unexpectedly closed the monitor (vm='win11'): 2024-04-22T20:32:33.148555Z qemu-system-aarch64: can't apply global host-arm-cpu.hv-relaxed=on: Property 'host-arm-cpu.hv-relaxed' not found'
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/createvm.py", line 2008, in _do_async_install installer.start_install(guest, meter=meter) File "/usr/share/virt-manager/virtinst/install/installer.py", line 695, in start_install domain = self._create_guest( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/virt-manager/virtinst/install/installer.py", line 637, in _create_guest domain = self.conn.createXML(initial_xml or final_xml, 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/libvirt.py", line 4523, in createXML raise libvirtError('virDomainCreateXML() failed') libvirt.libvirtError: internal error: QEMU unexpectedly closed the monitor (vm='win11'): 2024-04-22T20:32:33.148555Z qemu-system-aarch64: can't apply global host-arm-cpu.hv-relaxed=on: Property 'host-arm-cpu.hv-relaxed' not found
- Assistant
- User
- Assistant
- User
how do I use -bios /usr/share/qemu/qemu-uefi-aarch64.bin in the xml file on qemu
- Assistant
To use a specific UEFI firmware with QEMU, especially when configuring through XML for use with libvirt (such as with
virt-manageror ), you need to specify the path to your UEFI firmware file within the section of your VM's XML configuration file. The firmware file acts as the 'bios' for your virtual machine, initialising the hardware before your operating system boots up. - User
- Assistant