mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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 <leo03164@gmail.com>
This commit is contained in:
@@ -1263,6 +1263,8 @@ components:
|
||||
pci_device_id:
|
||||
type: integer
|
||||
format: uint8
|
||||
id:
|
||||
type: string
|
||||
device_type:
|
||||
type: integer
|
||||
format: uint32
|
||||
|
||||
Reference in New Issue
Block a user