mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-02 09:55:21 +00:00
99b2ada4d0
The configuration comes from a variety of places (commandline, REST API and restore) however some validation was only happening on the command line parsing path. Therefore introduce a new ability to validate the configuration before proceeding so that this can be used for commandline and API boots. For now move just the console and serial output mode validation under the new validation API. Signed-off-by: Rob Bradford <robert.bradford@intel.com>