Even if XP installs, finding drivers is hard. Focus on:
You will need:
qemu-system-x86_64 -m 2048 -hda xp.qcow2 -cdrom Windows_XP.iso -boot d
qemu-system-x86_64 -m 4096 -drive if=pflash,format=raw,readonly,file=OVMF_CODE.fd -drive file=OVMF_VARS.fd,if=pflash -hda xp.qcow2 -cdrom Windows_XP.iso
menuentry "SeaBIOS"
loader /EFI/BOOT/seabios.efi
icon /EFI/refind/icons/os_bios.png
If you want, I can:
Installing Windows XP on a UEFI system is not straightforward due to the differences in how UEFI and traditional BIOS handle bootloading and disk partitioning. Windows XP, being an older operating system, was designed in an era when UEFI was not widely used, and it lacks native support for UEFI booting. install windows xp on uefi system
Windows XP does not include native drivers for NVMe SSDs, AHCI (without F6 floppy injection), or UEFI RAID controllers. The default IDE emulation mode is absent on most post-2015 chipsets. Even if XP installs, finding drivers is hard