Repository navigation
doc: add riscv pv console diagram and PlantUML CI generation - #20
Conversation
|
As an early comment I think it'd be better you just include a script to generate the SVG and devs do it as part of the commit changing the puml file. As it stands, your workflow will generate it and create a commit, but that commit will not be part of the PR that's changed the puml file and will simply be lost, I think. |
Yes you're right. Maybe an another option would be to directly commit them in the |
b4d3eac to
02d804c
Compare
|
I don't think such documentation should belong here. You should upstream it to Xen Project (ask me if you need help on who to ask). |
As my riscv guest creation support is not yet upstream, I'm wondering if it's would make sense. |
3220cdf to
1e34e34
Compare
I'd say one does not preclude the other, could serve as staging area until then. |
Hrm I'd prefer to not give the rights to an action to commit directly to main so that everything that gets in has been reviewed. Artifacts are fine by me though, sounds like a better option :) |
f2f951d to
0ee4a36
Compare
Auto-generate SVGs from doc/**/*.puml on push and PR. Upload as CI artifacts for download via nightly.link. Signed-off-by: Baptiste Le Duc <baptiste.le-duc@vates.tech>
Signed-off-by: Baptiste Le Duc <baptiste.le-duc@vates.tech>
Signed-off-by: Baptiste Le Duc <baptiste.le-duc@vates.tech>
Signed-off-by: Baptiste Le Duc <baptiste.le-duc@vates.tech>
Signed-off-by: Baptiste Le Duc <baptiste.le-duc@vates.tech>
I think it would be better to upstream the documentation in parallel with the changes (functionality), as something could change during the feature review. Otherwise, we may end up with outdated documentation or need to submit an additional patch to fix it. Anyway, I think we want to have this somewhere in Xen repo or Xen Wiki project. |
Signed-off-by: Baptiste Le Duc <baptiste.le-duc@vates.tech>
Replace null_unit_wake() with sched_wake() → s->wake(), valid for all Xen schedulers. Also show vcpu_unblock() as always called by vcpu_kick() regardless of vCPU state. Signed-off-by: Baptiste Le Duc <baptiste.le-duc@vates.tech>
casasnovas
left a comment
There was a problem hiding this comment.
lgtm for the generation part, and looks like Oleksii is OK with the diagrams being correct so feel free to merge.
Summary
xen-console.pumlsequence diagram documenting the full RISC-V Xen PV console flow (init, xenconsoled mapping, input path via HVIP)doc/**/*.pumlon PR and commit results todoc/generated/<subdir>/doc/riscv/README.mdwith table linking diagrams to sourcesTest plan
doc/riscv/xen-console.pumland verify CIgenerates
xen-console.svgas an artifact.pumlchangesxen-console.pumlreviewed by @olkur or @tperard