Skip to content

Track dirty page writes from the VMM for live migration #2458

@rbradford

Description

@rbradford

The live migration code currently handles writes by the guest into the guest memory through the KVM dirty page tracking (and sends those writes over the wire to the destination) however for completeness writes by the VMM to the guest memory (such as VIRTIO devices) should also be tracked and likewise transmitted over the wire.

The existing infrastructure for communicating the changed pages can be reused (e.g. Vm::send_memory_regions) and protocol changes should not be needed however a mechanism for tracking the writes to the guest memory is needed.

This PR rust-vmm/vm-memory#125 by @alexandruag provides a mechanism for tracking writes made to the guest memory through the GuestMemory API.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions