Update diagram.

This commit is contained in:
Michael Lipp 2024-02-17 17:50:03 +01:00
parent 599f64da4c
commit 542c4eb61f

View file

@ -112,8 +112,6 @@ import org.jgrapes.util.events.WatchFile;
* *
* state "Starting (Processes)" as StartingProcess { * state "Starting (Processes)" as StartingProcess {
* *
* state which <<choice>>
* state "Start swtpm" as swtpm
* state "Start qemu" as qemu * state "Start qemu" as qemu
* state "Open monitor" as monitor * state "Open monitor" as monitor
* state "Configure QMP" as waitForConfigured * state "Configure QMP" as waitForConfigured
@ -121,11 +119,19 @@ import org.jgrapes.util.events.WatchFile;
* state success <<exitPoint>> * state success <<exitPoint>>
* state error <<exitPoint>> * state error <<exitPoint>>
* *
* which --> swtpm: [use swtpm] * state prepFork <<fork>>
* which --> qemu: [else] * state prepJoin <<join>>
* * state "Generate cloud-init image" as cloudInit
* prepFork --> cloudInit: [cloud-init data provided]
* swtpm --> prepJoin: FileChanged[swtpm socket created]
* state "Start swtpm" as swtpm
* prepFork --> swtpm: [use swtpm]
* swtpm: entry/start swtpm * swtpm: entry/start swtpm
* swtpm -> qemu: FileChanged[swtpm socket created] * cloudInit --> prepJoin: ProcessExited
* cloudInit: entry/generate cloud-init image
* prepFork --> prepJoin: [else]
*
* prepJoin --> qemu
* *
* qemu: entry/start qemu * qemu: entry/start qemu
* qemu --> monitor : FileChanged[monitor socket created] * qemu --> monitor : FileChanged[monitor socket created]
@ -141,7 +147,7 @@ import org.jgrapes.util.events.WatchFile;
* configure --> success: RunnerConfigurationUpdate (last handler)/fire cont command * configure --> success: RunnerConfigurationUpdate (last handler)/fire cont command
* } * }
* *
* Initializing --> which: Started * Initializing --> prepFork: Started
* *
* success --> Running * success --> Running
* *