Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added bios type firmware support for loongarch64
Since the internal snapshot function of virt-manager cannot be used when using UEFI firmware, the bios type firmware is added to loongarch64. The bios type firmware uses the QEMU_EFI.fd file and loads it with the -bios parameter. This allows us to use virt-manager internal snapshots while the virtual machine is on. This also requires edk2 to have a corresponding json file in /usr/share/qemu/firmware at installation time. The file contents are as follows: { "description": "LoongArch UEFI for loongarch64", "interface-types": [ "bios" ], "mapping": { "device": "memory", "filename": "/usr/share/qemu/QEMU_CODE.fd" }, "targets": [ { "architecture": "loongarch64", "machines": [ "virt*" ] } ], "features": [ "acpi" ], "tags": [ ] } Signed-off-by: Xianglai Li <[email protected]> Signed-off-by: Xianglai Li <[email protected]>
- Loading branch information