You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
guest_memory: let multiple regions slice one global bitmap
QEMU uses a global bitmap, with each RAM region using an offset into
it. This could be easily represented if bitmap() returned a
BaseSlice<&'static GlobalBitmap>, but there is a problem: bitmap()
currently wants to return a reference to the bitmap!
So change it to always return a slice. This is more flexible, and
it isn't a performance problem because BitmapSlices are meant to be cheap
wrappers around a reference or Arc<>
Signed-off-by: Paolo Bonzini <[email protected]>
0 commit comments