Skip to content

Commit

Permalink
vmm: log dirty pages
Browse files Browse the repository at this point in the history
* When configuring guest memory with KVM, check the logger flags to see
  if dirty page logging was enabled. If so, configure it via the
  KVM_MEM_LOG_DIRTY_PAGES flags.
* When logging metrics, check the logger flags to see if dirty page
  logging was enabled. If so, get the dirty page bitmap via the
  KVM_GET_DIRTY_LOG ioctl and log the corresponding metric.
* Complete documentation in kvm/src/lib.rs.

Signed-off-by: Marc Brooker <[email protected]>
  • Loading branch information
Alexandra Iordache authored and alxiord committed Dec 12, 2018
1 parent 2585afd commit 579b4af
Show file tree
Hide file tree
Showing 7 changed files with 368 additions and 68 deletions.
Loading

0 comments on commit 579b4af

Please sign in to comment.