Want ability to create a port with a "start policy"
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- networking
Línea de trabajo
Start by reading the mc_start entrypoint in xde/src/xde.rs (around lines 2086–2092) and trace how ports are created and started. The issue proposes OnMacStart and Explicit policies, with an ioctl for explicitly starting a port; clarify how that fits the migration protocol before implementing. Done means imported ports can remain quiescent until explicitly started, while ordinary ports retain the current behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
For live-migration, we need a way to import state into an otherwise-quiescent port. In Omicron, the port is passed into a Propolis zone, which ultimately creates a viona device over the port. When that happens, the illumos mac framework will eventually call the mc_start(9E) entrypoint, which in the xde driver is here. But once the port is started, the mac framework could deliver frames to it, in which case the port may no longer be quiescent!
This might depend on how we implement the state-migration protocol in Propolis, but what we'd really like is a way to create the port with a specific "start policy". This would describe what to do when the mc_start entrypoint is called. For example, we could use an enum like this:
enum StartPolicy {
/// Set the port running when `mac` calls our `mc_start` entrypoint
OnMacStart,
/// Only start the port when an ioctl explicitly requests it
Explicit,
}
When creating a new port that we're not importing into, we can use the currently policy, which is essentially OnMacStart. If we're importing state, we could create it with Explicit; import the state; attach the viona device; and then explicitly set the port running after Propolis is satisfied with whatever other migration bits are needed.
- Lenguaje dominante
- Rust
- Estrellas
- 82
- Forks
- 16
- Merge medio
- 3 d 6 h
- PR fusionados (30 d)
- 11
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de oxidecomputer/opte
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
oxidecomputer/opte#1125 ·
Los mantenedores suelen responder en 2 días
-
`PortBuilder::add_layer` doesn't need a mutexPosiblemente ocupada @FelixMcFelix la tomó hace 54 días. Abiertocleanup
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
oxidecomputer/opte#1061 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
oxidecomputer/opte#1052 ·
Los mantenedores suelen responder en 2 días
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
oxidecomputer/opte#341 ·
Los mantenedores suelen responder en 2 días
-
`Layer` creation should not unwrap `KStatNamed`Posiblemente ocupada @FelixMcFelix la tomó hace 54 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 40/100
oxidecomputer/opte#1126 ·
Los mantenedores suelen responder en 2 días
Todos los issues de oxidecomputer/opte
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
qingjian-team/qingjian#1181 ·
Los mantenedores suelen responder en 2 días
-
bug P2: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
leepokai/Codync#618 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug] StreamLifecycleConfig clamps post-TTFT stream timeouts to remaining admission budgetPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
lbjlaq/Antigravity-Manager#4063 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
solutionscay/skiff#297 ·
Los mantenedores suelen responder en 1 día