mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The field is declared as generic_vhost_user in vmm/src/vm_config.rs without a serde rename, so the wire format uses the underscore form. The OpenAPI document names the property generic-vhost-user, which is also the only hyphenated key in the VmConfig schema. VmConfig deserialization does not reject unknown fields, so a client generated from the document sends a key that serde silently ignores: the devices are dropped on vm.create without any error. Signed-off-by: leo03164 <leo03164@gmail.com>