microVM: name every CPUID difference in CPU-surface errors
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- infrastructure
Direzione di ricerca
The code lives in the gitlinked nanvix/openvmm checkout, not the top-level tree: start with openvmm/openvmm_core/src/worker/dispatch/time_abi.rs and the constant MAX_REPORTED_CPUID_DIFFERENCES, then read check_recorded_cpuid and check_presented, which apply the cap. Read section 2.2.1.3 of the architecture guide in doc/design/ before choosing between removing the cap and documenting the bound. Done means every CPUID difference is reported or the bound is stated in the guide, and the other verification steps are checked the same way.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
CPU-profile verification reports every violation together, naming the leaf, subleaf, register, and bit (section 2.2.1.3 of the architecture guide in doc/design/). OpenVMM's E_CPU_SURFACE errors name at most 16 differences and drop the rest. They do report the total count.
Found while auditing the implementation against the architecture guide.
Where it happens
OpenVMM links are pinned to the gitlink nanvix/openvmm@c6d97c5, in openvmm/openvmm_core/src/worker/dispatch/time_abi.rs:
MAX_REPORTED_CPUID_DIFFERENCESis 16.check_recorded_cpuidapplies it on restore, when the recomputed effective CPUID differs from the snapshot's.check_presentedapplies it when VP 0 does not observe the effective CPUID.
Intended behavior
Every difference is named. The effective CPUID has a bounded number of entries, so the full list stays bounded too. Alternatively, the architecture guide states the bound.
Tasks
- Remove the cap in nanvix/openvmm and promote the pin, or record the bound in section 2.2.1.3 of the architecture guide.
- Check that the other verification steps of section 2.2.1.3, such as backend support of the profile and unlisted entries, also report every violation.
- Lingua principale
- Python
- Stelle
- 380
- Fork
- 24
- Merge medio
- 13h 18m
- PR unite (30g)
- 292
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 microsoft/nvx
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
Track sandbox live share bugs: the time ABI bind hides or breaks shares at /run targetsForse già presa @jay23606 l’ha presa oggi. Apertabug-hunt confirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/nvx
Issue simili
-
python triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
microsoft/semantic-kernel#14615 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
shackett/shackett-utils#19 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
UKGovernmentBEIS/control-arena#917 ·
I maintainer di solito rispondono entro 1 giorno