#ovmf

2025-06-17

Just learned how to update OVMF_VARS.fd offline before running QEMU:

 virt-fw-vars \
    --input "$OUTPUT/OVMF_VARS.fd" \
    --output "$OUTPUT/OVMF_VARS.fd" \
    --append-boot-filepath /EFI/debian/grubx64.efi

E.g., in Debian the package containing virt-fw-vars is python3-virt-firmware but it is also available from PIP: https://pypi.org/project/virt-firmware/

#qemu #ovmf

2025-05-28

and this is why I love compiling my own #ovmf firmware for use of my virtual machines. The full changelog is on github!

2025-03-30

Petite visite à L’OVMF hier pour leur concert N64. Quel super ensemble!!

#musique #zelda #orchestre #ovmf

2025-03-19

Quick recipes to get OVMF and AAVMF anywhere:

OVMF:

curl -sSf https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/ovmf-0.0.202308-r2.apk | tar zx --strip-components 3 usr/share/OVMF/OVMF.fd

AAVMF:

curl -sSf https://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/aavmf-0.0.202308-r2.apk | tar xz --strip-components 3 usr/share/AAVMF/QEMU_EFI.fd

Distributions place these files in variable places when they deploy QEMU and EDK2 so it is is good to have ubiquitous method for acquiring them for e.g. kernel testing.

#alpinelinux #qemu #edk2 #ovmf #aavmf

Enitin :cursor: :verify:Enitin@mastodon.enitin.xyz
2024-10-16

I'm trying to make my #QEMU #VM resilient against software that tries to detect it's running inside of a VM. Seems like I have to do a lot to make this work. Like changing QEMU and #OVMF #source #code. Currently I'm trying to remove the detectable overhead of executing the instructions RDTSC -> CPUID -> RDTSC in sequence. Which results in a much longer delay within VMs.

2024-09-09

Reproduced with multiple #qemu and #ovmf versions. Wonder who I'd even report it to.

2024-09-09

I need a way to dump .fd files, i.e. ovmf.fd from qemu/TianoCore

I will fall back to booting Linux in QEMU or finding some UEFI mode tool.

#AskFedi #OVMF #UEFI #TianoCore

2023-04-22

Starting to #bisect #edk2 #ovmf stuff because the #microvm blobs don't build anymore since last release...

If only they had a build system that is at least somewhat comprehensive and not a bizarre monster of #shell and #python scripts mangled together with some #make and other bits and pieces 🥺

#archlinux #packagerlife

💻📡🛰️ IooNagIooNag@infosec.exchange
2022-11-19

I recently upstreamed a script to spawn a QEMU virtual machine running UEFI Shell + CHIPSEC which helps debug issues and implement new features: github.com/chipsec/chipsec/blo

This script has an issue: to launch the OVMF shell in QEMU, it disables networking (-nic none), otherwise OVMF tries PXE Boot. If you know how to keep networking, or sense other ways to improve this script, feel free to contribute to github.com/chipsec/chipsec 💻​
#chipsec #uefishell #OVMF

Screenshot of chipsec's "./scripts/qemu_efi.py -u pci enumerate"Screenshot of chipsec's "./scripts/qemu_efi.py --gui -u pci enumerate"
2021-11-06

so i've moved my macos #kvm to its own nvme. what was much snappier on the sata ssd, in the qemu image than on baremetal nvme windows is now even better. however this thing was advertised to 7k MB/s read ..it is not quite there. due to apfs i am not sure how to verify this test right now. using virtio-blk because i was unable to passthrough the nvme controller – not even manually. (unviable group, even when forced to #vfio module)

lets see if i can tweak it a bit – suggestions welcome #ovmf

#LOL #libVirt #2018 #OVMF erreur :Operation not supported: internal snapshots of a VM with pflash based firmware are not supported

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst