Project

General

Profile

Actions

Bug #13896

open

bhyve VM interfaces should be better fit

Added by Patrick Mooney 4 months ago. Updated 4 months ago.

Status:
In Progress
Priority:
Normal
Category:
bhyve
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Hard
Tags:
Gerrit CR:

Description

When bhyve was ported to illumos, a makeshift "VM shim" was written to provide the FreeBSD VM interfaces used by bhyve to build/maintain the nested page tables (and associated resources). Keeping source compatibility with upstream bhyve was a priority at that point, which meant replicating FreeBSD interfaces at the cost of simplicity. That area of bhyve ended up being rather circuitous while at the same time being somewhat lacking in capabilities and performance. The current state is a barrier to adding significant features (such as A/D tracking for migration).

As a solution, we propose a significant overhaul of those VM-related interfaces and logic which are consumed by bhyve. The new interfaces should be tailored to what bhyve and its related components need for efficient and straightforward operation.


Related issues

Related to illumos gate - Feature #13833: want bhyve memory reservoirClosedPatrick Mooney

Actions
Related to illumos gate - Bug #13861: bhyve apicv logic could take more careClosedPatrick Mooney

Actions
Related to illumos gate - Bug #13981: bhyve emulation should set dirty bitsIn ProgressPatrick Mooney

Actions
Actions #1

Updated by Patrick Mooney 4 months ago

  • Related to Feature #13833: want bhyve memory reservoir added
  • Related to Bug #13861: bhyve apicv logic could take more care added
Actions #2

Updated by Electric Monk 4 months ago

  • Gerrit CR set to 1563
Actions #3

Updated by Patrick Mooney 3 months ago

  • Related to Bug #13981: bhyve emulation should set dirty bits added
Actions

Also available in: Atom PDF