openvmm icon indicating copy to clipboard operation
openvmm copied to clipboard

loader: fix sidecar offset

Open jstarks opened this issue 1 year ago • 0 comments

If the sidecar kernel is not already 2MB aligned, then the offset is miscomputed due to variable shadowing. Fix this.

In the future, we should get rid of this 2MB requirement, since sidecar can use 4KB pages relatively easily and has a small enough working set that the page size will not affect TLB pressure.

Also, fix some error strings to be more concise and useful.

jstarks avatar Oct 17 '24 22:10 jstarks