Skip to content

Commit ee33fd4

Browse files
vsock: Add new VMs at runtime
Implement ability to add new VMs at runtime. Removing or modifying the configuration of an existing VM at runtime is not supported at the moment. To use this feature, you must use the `--config` CLI argument to specify the initial configuration with the `--watch` flag set. The path to the config file provided must be a symlink to the actual YAML config. To update the VM configuration at runtime, simply change the symlink to point to the YAML config file with the new configuration. Signed-off-by: Priyansh Rathi <[email protected]>
1 parent 033a0ed commit ee33fd4

File tree

3 files changed

+299
-65
lines changed

3 files changed

+299
-65
lines changed

Cargo.lock

Lines changed: 118 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/vsock/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ vmm-sys-util = "0.11"
3030
config = "0.13"
3131
serde = "1"
3232
serde_yaml = "0.9"
33+
inotify = "0.10.2"
3334

3435
[dev-dependencies]
3536
virtio-queue = { version = "0.9", features = ["test-utils"] }

0 commit comments

Comments
 (0)