mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Add an identifier to the --vsock device
It's possible to have multiple vsock devices so in preparation for hotplug/unplug it is important to be able to have a unique identifier for each device. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Rob Bradford
parent
10348f73e4
commit
6e049e0da1
@@ -196,7 +196,8 @@ fn create_app<'a, 'b>(
|
||||
Arg::with_name("vsock")
|
||||
.long("vsock")
|
||||
.help(
|
||||
"Virtio VSOCK parameters \"cid=<context_id>,sock=<socket_path>,iommu=on|off\"",
|
||||
"Virtio VSOCK parameters \
|
||||
\"cid=<context_id>,sock=<socket_path>,iommu=on|off,id=<device_id>\"",
|
||||
)
|
||||
.takes_value(true)
|
||||
.number_of_values(1)
|
||||
|
||||
Reference in New Issue
Block a user