Skip to content

use GuestMemory::read_from() and GuestMemory::write_to() in Vsock #2592

Closed
@serban300

Description

@serban300

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() and GuestMemoryRegion::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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: LowIndicates that an issue or pull request should be resolved behind issues or pull requests labelled `Type: FixIndicates a fix to existing code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions