Skip to content

Does memory need to be mapped aligned to page boundaries? #1948

Answered by wtdcode
Joshua-Schroijen asked this question in Q&A
Discussion options

You must be logged in to vote

Hmmmm, that's quite subtle. Though not thoroughly confirmed, I think the alignment requirement is a QEMU internal implementation trick, which we just inherited. I don't see any straight reason making it possible to support any memory regions alignments but meanwhile there is also no obvious motivation.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Joshua-Schroijen
Comment options

@wtdcode
Comment options

Answer selected by Joshua-Schroijen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants