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
Add a special `GuestMemoryMmap` to `struct Vm` that has the semantics
that if its not empty, it represents the swiotlb area in the guest.
Have all virtio devices use io memory by default. This means that in
case of swiotlb regions being set up, virtio devices cannot access
generic memory, so if the guest decides to (incorrectly) place I/O
buffers outside of swiotlb we'll get a somewhat meaningful error of
"invalid guest address" (or similar), instead of random things failing
further down the line in case generic memory isn't accessible by
firecracker/the host kernel for some reason (e.g. if its guest_memfd
backed in the future).
Signed-off-by: Patrick Roy <[email protected]>
0 commit comments