From ae04fa80b2e0e52b7a9f4b3fd4239698df586673 Mon Sep 17 00:00:00 2001 From: leo03164 Date: Mon, 3 Aug 2026 17:09:51 +0800 Subject: [PATCH] openapi: Add missing id property to GenericVhostUserConfig GenericVhostUserConfig flattens PciDeviceCommonConfig, so the wire format accepts an optional id like the other PCI device configs. FsConfig, which flattens the same struct, already documents id. Add it here as well so generated clients can name the device and later target it with /vm.remove-device. Signed-off-by: leo03164 --- vmm/src/api/openapi/cloud-hypervisor.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index fb894545f..7ca05c8b8 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -1263,6 +1263,8 @@ components: pci_device_id: type: integer format: uint8 + id: + type: string device_type: type: integer format: uint32