use GuestMemory::read_from() and GuestMemory::write_to() in Vsock #2592
Labels
Priority: Low
Indicates that an issue or pull request should be resolved behind issues or pull requests labelled `
Type: Fix
Indicates a fix to existing code
As part of #2574 we refactored vsock in order to use vm-memory methods instead of raw pointers. For performance reasons and limitations related to our vm-memory wrapper crate we used
GuestMemoryRegion::read_from()
andGuestMemoryRegion::write_to()
After dirty bitmap tracking is merged in
rust-vmm/vm-memory
we should be able to use GuestMemory::read_from() and GuestMemory::write_to() directly.The text was updated successfully, but these errors were encountered: