mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Map VmError::ConfigValidation in api_error_status_code() to client-error codes: 409 Conflict for a duplicate identifier or path, 400 Bad Request otherwise. Update the OpenAPI responses for the vm.add-* and vm.restore endpoints, fix the InvalidIdentifier message, and add unit tests. Signed-off-by: Stepan Rabotkin <epicstyt@gmail.com> Assisted-by: Claude:Opus-4.8