mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
fe5561df50
With the API server socket option, we will be able to support a model where the user can start cloud-hypervisor with no options or an alternative API server socket path. In this case, we don't want to try to start a new guest VM, and for that we need to know if the user has set any VM configuration at all. Grouping all VM configuration specific options together is one way to be able to know about it. If the user has not set any VM configuration, we only start the API server. If it has set anything, we will verify that the overall configuration is valid and will implicitly convert that configuration into a request to the API server. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>