[PR #278] [CLOSED] WHPX: Add support for device backed memory regions #368

Open
opened 2026-01-31 21:30:59 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/qemu/qemu/pull/278
Author: @startergo
Created: 1/11/2025
Status: Closed

Base: masterHead: master


📝 Commits (7)

  • 18f14a7 Update whpx-all.c
  • 5f4cae6 Fix compilation errors due to undeclared variables in the whpx_log_sync
  • 8d32a85 Merge branch 'qemu:master' into master
  • e7d7aee Update whpx-all.c
  • 4d7a6ef Update whpx-all.c
  • 044d959 Update whpx-all.c
  • 9641d3f Update whpx-all.c

📊 Changes

1 file changed (+9 additions, -2 deletions)

View changed files

📝 target/i386/whpx/whpx-all.c (+9 -2)

📄 Description

Update whpx-all.c
WHPX: Add support for device backed memory regions
Due to skipping the mapping of read only device memory, Windows
Hypervisor Platform would fail to emulate such memory accesses when booting
OVMF EDK2 firmware. This patch adds ROM device memory region support
for WHPX since the Windows Hypervisor Platform supports mapping read-only
device memory, which allows successful booting of OVMF EDK2 firmware.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/513
https://gitlab.com/qemu-project/qemu/-/issues/934
Buglink: https://bugs.launchpad.net/bugs/1821595

Signed-off-by: Aidan Khoury aidan@revers.engineering


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qemu/qemu/pull/278 **Author:** [@startergo](https://github.com/startergo) **Created:** 1/11/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (7) - [`18f14a7`](https://github.com/qemu/qemu/commit/18f14a7a8a306926f9bf3a98ba942b1f043fdb88) Update whpx-all.c - [`5f4cae6`](https://github.com/qemu/qemu/commit/5f4cae63e5ac44089ac8538afcb05e1f7954495d) Fix compilation errors due to undeclared variables in the whpx_log_sync - [`8d32a85`](https://github.com/qemu/qemu/commit/8d32a85232abca37e9064734c340cec0e84efaa1) Merge branch 'qemu:master' into master - [`e7d7aee`](https://github.com/qemu/qemu/commit/e7d7aee0ebf94d4c2aa61eebc957ea1dc2a3ce30) Update whpx-all.c - [`4d7a6ef`](https://github.com/qemu/qemu/commit/4d7a6efef638f834efd824fc47bf9c1f5c83c86d) Update whpx-all.c - [`044d959`](https://github.com/qemu/qemu/commit/044d95906787b1f7d13d798a1c5db9cba1f81a2c) Update whpx-all.c - [`9641d3f`](https://github.com/qemu/qemu/commit/9641d3f25303b1e165897dab034d768d5bf9d04d) Update whpx-all.c ### 📊 Changes **1 file changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `target/i386/whpx/whpx-all.c` (+9 -2) </details> ### 📄 Description Update whpx-all.c WHPX: Add support for device backed memory regions Due to skipping the mapping of read only device memory, Windows Hypervisor Platform would fail to emulate such memory accesses when booting OVMF EDK2 firmware. This patch adds ROM device memory region support for WHPX since the Windows Hypervisor Platform supports mapping read-only device memory, which allows successful booting of OVMF EDK2 firmware. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/513 https://gitlab.com/qemu-project/qemu/-/issues/934 Buglink: https://bugs.launchpad.net/bugs/1821595 Signed-off-by: Aidan Khoury <aidan@revers.engineering> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 21:30:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#368