-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get a slice of a GuestRegionMmap
#286
Comments
Hi @tylerfanelli, |
I think |
@roypat No problem, thanks for the reply. You would fetch this Do I have this right? If so, I don't think |
Yes, that would allow you to copy data from the VolatileSlice into a byte buffer. For the other way around, you'd use
I suppose having unsafe |
Between versions
0.8
and0.13
, theAsSlice
trait was deprecated forGuestRegionMmap
. For users of theas_slice
method, is there a way to recreate its functionality? That is, is there any current alternatives for this method that can gives us a slice of a guest memory region?The text was updated successfully, but these errors were encountered: