summary refs log tree commit diff stats
path: root/results/scraper/fex/1921
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-17 09:10:43 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-17 09:10:43 +0200
commitf2ec263023649e596c5076df32c2d328bc9393d2 (patch)
tree5dd86caab46e552bd2e62bf9c4fb1a7504a44db4 /results/scraper/fex/1921
parent63d2e9d409831aa8582787234cae4741847504b7 (diff)
downloadqemu-analysis-main.tar.gz
qemu-analysis-main.zip
add downloaded fex bug-reports HEAD main
Diffstat (limited to 'results/scraper/fex/1921')
-rw-r--r--results/scraper/fex/192114
1 files changed, 14 insertions, 0 deletions
diff --git a/results/scraper/fex/1921 b/results/scraper/fex/1921
new file mode 100644
index 000000000..d10acf5ad
--- /dev/null
+++ b/results/scraper/fex/1921
@@ -0,0 +1,14 @@
+4k page emulation
+Splitting from #1221 

+

+from @skmp 

+> We now have a fairly clean interface - one would need to add support for this in virtual void `GuestMmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) = 0;` and `GuestMunmap`, and maybe introduce a `GuestMprotect` and then it would all work.

+

+from @marcan 

+> mmap on files can be made to work perfectly fine as long as the vaddr is not requested as fixed. You just align the mapping to 16K and give the app an offset halfway into the page if needed. munmap would then align back before unmapping the 16K aligned block.

+

+> mprotect similarly would only fail if the app is trying to do its own page management at page granularity. Many uses of mprotect are used on whatever mmap returned, and since that would be 16K aligned (or the above hack for file maps), it could similarly be made to work.

+

+We are already tracking guest VMAs for mtrack, so adding the few extra things needed should be fairly uneventful.

+

+I'm putting it in the 2212 milestone, hopefully the asahi side is ready by then.
\ No newline at end of file