Skip to content

Commit

Permalink
vsock: Add new VMs at runtime
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
techiepriyansh committed Aug 25, 2023
1 parent 033a0ed commit ee33fd4
Show file tree
Hide file tree
Showing 3 changed files with 299 additions and 65 deletions.
118 changes: 118 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/vsock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ vmm-sys-util = "0.11"
config = "0.13"
serde = "1"
serde_yaml = "0.9"
inotify = "0.10.2"

[dev-dependencies]
virtio-queue = { version = "0.9", features = ["test-utils"] }
Expand Down
Loading

0 comments on commit ee33fd4

Please sign in to comment.