Project

General

Profile

Actions

Feature #14087

closed

Bhyve exposes dirty page tracking interface

Added by Dan Cross over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bhyve
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

In order to support live migration, bhyve must support some interface for tracking dirty pages and exposing that information to userspace.


Files

dirty-track-ioctl-test.c (1.67 KB) dirty-track-ioctl-test.c Dan Cross, 2021-12-14 06:36 PM

Related issues

Related to illumos gate - Bug #15639: want more NPT bit operations in bhyveClosedPatrick Mooney

Actions
Actions #1

Updated by Electric Monk over 2 years ago

  • Gerrit CR set to 1713
Actions #2

Updated by Dan Cross over 2 years ago

Testing: I wrote a one-off program to exercise the dirty-page tracking ioctl, started a VM, and ran it. I then stopped the VM, ran the program again twice, observing that in the second invocation no pages were dirtied.

Actions #3

Updated by Dan Cross over 2 years ago

(test program attached.)

Actions #4

Updated by Electric Monk over 2 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 8779b44894428ca4ea78d1bfe5381291f62e9c7d

commit  8779b44894428ca4ea78d1bfe5381291f62e9c7d
Author: Dan Cross <cross@oxidecomputer.com>
Date:   2021-12-14T21:57:24.000Z

    14087 Bhyve exposes dirty page tracking interface
    Reviewed by: Patrick Mooney <pmooney@pfmooney.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions #5

Updated by Patrick Mooney about 1 year ago

  • Related to Bug #15639: want more NPT bit operations in bhyve added
Actions

Also available in: Atom PDF