mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
PR #8320 changed several endpoints to return 404 (Not Found) when the VM has not been created yet, but the OpenAPI specification was not updated to document these responses. Add the missing 404 entries for vm.info, resize, resize-zone and the (cold) add-disk/device/pmem/net/vsock/vdpa endpoints so the spec matches the implemented HTTP status codes. Signed-off-by: Stepan Rabotkin <epicstyt@gmail.com> Assisted-by: Claude:Opus-4.8