forked from microsoft/openvmm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
underhill_mem: register memory with proper private/shared bit (micros…
…oft#257) At some point, we stopped passing the shared bit down when registering kernel memory. Fix this. This fixes kernel-mode DMA from TDX VMs. Note that there are still problems with the overall scenario: the kernel will double buffer through the swiotlb even when the target pages are already shared, and swiotlb is sized by openhcl_boot such that there's not enough memory for all the IO that we may have in flight concurrently.
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters