Add WHPX support on Windows and introduce OVMF Pure EFI firmware.
Proposed changes
Add testkvm target for Windows using WHPX + OVMF.
Keep existing testkvm target for non-Windows (KVM).
Add OVMF-pure-efi.fd firmware file.
TODO
Test WHPX VM boot on Windows.
Verify OVMF firmware compatibility.
Agreements
I have read the Contributors License Agreement and I consent to those terms.
<!--
1. Please speak English, this is the language all of us can speak and write.
2. Please follow the CONTRIBUTING.md to make your changes smoothly merged.
-->
## Purpose
Add WHPX support on Windows and introduce OVMF Pure EFI firmware.
## Proposed changes
- Add `testkvm` target for Windows using WHPX + OVMF.
- Keep existing `testkvm` target for non-Windows (KVM).
- Add `OVMF-pure-efi.fd` firmware file.
## TODO
- [x] Test WHPX VM boot on Windows.
- [x] Verify OVMF firmware compatibility.
## Agreements
- [x] I have read the Contributors License Agreement and I consent to those terms.
Thanks for the contribution. Overall, the changes look good and head in the right direction, but I do have a couple of remarks before we can proceed with the merge.
First, the code is currently outdated and needs to be brought in sync with the latest changes on the master branch. Please rebase or merge from master to resolve any potential conflicts and avoid future regressions.
Second, the QEMU parameters for WHPX are quite minimal. While that is not necessarily a problem right now, I am planning to make further improvements in that area shortly. Because of that, I would prefer to get this merged sooner rather than later. I am not expecting major changes on your side beyond the rebase and cleanup, and I will handle the rest in follow-up work.
Lastly, please make sure your GIT setup follows our contribution guidelines as described at https://exectos.eu.org/contributing/working-with-git/ Specifically, the commits should be made using your real name and valid email address.
Once that is done, I will go ahead and merge this PR.
Thanks for the contribution. Overall, the changes look good and head in the right direction, but I do have a couple of remarks before we can proceed with the merge.
First, the code is currently outdated and needs to be brought in sync with the latest changes on the master branch. Please rebase or merge from master to resolve any potential conflicts and avoid future regressions.
Second, the QEMU parameters for WHPX are quite minimal. While that is not necessarily a problem right now, I am planning to make further improvements in that area shortly. Because of that, I would prefer to get this merged sooner rather than later. I am not expecting major changes on your side beyond the rebase and cleanup, and I will handle the rest in follow-up work.
Lastly, please make sure your GIT setup follows our contribution guidelines as described at https://exectos.eu.org/contributing/working-with-git/ Specifically, the commits should be made using your real name and valid email address.
Once that is done, I will go ahead and merge this PR.
There is just one firmware file and thus build for one arch will succeed while another will fail. I would be nice to see ovmf_pure_amd64.fd and ovmf_pure_i686.fd.
Also, are both archs working under WHPX?
testkvm is used for BIOS and there is testefikvm as well. How does legacy BIOS work under WHPX?
Ive noticed more things:
1. There is just one firmware file and thus build for one arch will succeed while another will fail. I would be nice to see ovmf_pure_amd64.fd and ovmf_pure_i686.fd.
2. Also, are both archs working under WHPX?
3. testkvm is used for BIOS and there is testefikvm as well. How does legacy BIOS work under WHPX?
I don't know how to reliably obtain OVMF images, as I used what was provided to me for a specific use case (x64 EFI on WHPX).
I don't know how to reliably obtain OVMF images, as I used what was provided to me for a specific use case (x64 EFI on WHPX).
perikiyoxd
changed title from Add support for WHPX accelerator on Windows and introduce OVMF Pure EFI firmware to Add support for x64 EFI on WHPX2025-10-09 19:10:14 +02:00
Yes, I noticed there is currently only one firmware file (it is for amd64). I am not sure if that is a blocker for merging, since WHPX does not work at all right now. My plan is to introduce separate targets: testwhpx and testefiwhpx, which should make things cleaner moving forward.
I have not tested both architectures under WHPX yet. I recently read that it should be possible to merge code and data for WHPX in the right order, so maybe we could have a pure version for both WHPX and KVM eventually.
I have not tested legacy BIOS either, so I can not say for sure how it behaves under WHPX.
Do you see any of these points as blockers for merging the current changes? I would really prefer not to let this work go to waste, especially since I am planning to improve this area further anyway.
1. Yes, I noticed there is currently only one firmware file (it is for amd64). I am not sure if that is a blocker for merging, since WHPX does not work at all right now. My plan is to introduce separate targets: testwhpx and testefiwhpx, which should make things cleaner moving forward.
2. I have not tested both architectures under WHPX yet. I recently read that it should be possible to merge code and data for WHPX in the right order, so maybe we could have a pure version for both WHPX and KVM eventually.
3. I have not tested legacy BIOS either, so I can not say for sure how it behaves under WHPX.
Do you see any of these points as blockers for merging the current changes? I would really prefer not to let this work go to waste, especially since I am planning to improve this area further anyway.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Purpose
Add WHPX support on Windows and introduce OVMF Pure EFI firmware.
Proposed changes
testkvmtarget for Windows using WHPX + OVMF.testkvmtarget for non-Windows (KVM).OVMF-pure-efi.fdfirmware file.TODO
Agreements
Thanks for the contribution. Overall, the changes look good and head in the right direction, but I do have a couple of remarks before we can proceed with the merge.
First, the code is currently outdated and needs to be brought in sync with the latest changes on the master branch. Please rebase or merge from master to resolve any potential conflicts and avoid future regressions.
Second, the QEMU parameters for WHPX are quite minimal. While that is not necessarily a problem right now, I am planning to make further improvements in that area shortly. Because of that, I would prefer to get this merged sooner rather than later. I am not expecting major changes on your side beyond the rebase and cleanup, and I will handle the rest in follow-up work.
Lastly, please make sure your GIT setup follows our contribution guidelines as described at https://exectos.eu.org/contributing/working-with-git/ Specifically, the commits should be made using your real name and valid email address.
Once that is done, I will go ahead and merge this PR.
Please rebase or merge from master.
84402a1db4to356c221e23356c221e23toe5611d8081Done
Ive noticed more things:
I don't know how to reliably obtain OVMF images, as I used what was provided to me for a specific use case (x64 EFI on WHPX).
Add support for WHPX accelerator on Windows and introduce OVMF Pure EFI firmwareto Add support for x64 EFI on WHPXDo you see any of these points as blockers for merging the current changes? I would really prefer not to let this work go to waste, especially since I am planning to improve this area further anyway.
Since there has not been any further feedback, I am assuming silent approval and merging this.