The BIOS version (non-uefi), was just a simple file replacement and rebuild back in the days, yet UEFI is a bit harder and needs an EDK firmware replacement also by building the thing from source. There a couple of tutorials out there how to do that for qemu, so you may have to look into them, e.g. this.