Want ability to create a port with a "start policy"
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 38/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- networking
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 82
- Fork
- 16
- Merge medio
- 3g 6h
- PR unite (30g)
- 11
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di oxidecomputer/opte
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
oxidecomputer/opte#1125 ·
I maintainer di solito rispondono entro 2 giorni
-
`PortBuilder::add_layer` doesn't need a mutexForse già presa @FelixMcFelix l’ha presa 54 giorni fa. Apertacleanup
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
oxidecomputer/opte#1061 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
oxidecomputer/opte#1052 ·
I maintainer di solito rispondono entro 2 giorni
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
oxidecomputer/opte#341 ·
I maintainer di solito rispondono entro 2 giorni
-
`Layer` creation should not unwrap `KStatNamed`Forse già presa @FelixMcFelix l’ha presa 54 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 40/100
oxidecomputer/opte#1126 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di oxidecomputer/opte
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
qingjian-team/qingjian#1181 ·
I maintainer di solito rispondono entro 2 giorni
-
bug P2: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
leepokai/Codync#618 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] StreamLifecycleConfig clamps post-TTFT stream timeouts to remaining admission budgetForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
lbjlaq/Antigravity-Manager#4063 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
solutionscay/skiff#297 ·
I maintainer di solito rispondono entro 1 giorno