mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: openapi: add user_devices to spec
Signed-off-by: Stepan Rabotkin <epicstyt@gmail.com>
This commit is contained in:
committed by
Rob Bradford
parent
389257964b
commit
feddff025a
@@ -647,6 +647,10 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/DeviceConfig"
|
||||
user_devices:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/UserDeviceConfig'
|
||||
vdpa:
|
||||
type: array
|
||||
items:
|
||||
@@ -1219,6 +1223,23 @@ components:
|
||||
x_nv_gpudirect_clique:
|
||||
type: integer
|
||||
format: int8
|
||||
|
||||
UserDeviceConfig:
|
||||
required:
|
||||
- socket
|
||||
type: object
|
||||
properties:
|
||||
socket:
|
||||
type: string
|
||||
id:
|
||||
type: string
|
||||
pci_segment:
|
||||
type: integer
|
||||
format: int16
|
||||
pci_device_id:
|
||||
type: integer
|
||||
format: uint8
|
||||
|
||||
TpmConfig:
|
||||
required:
|
||||
- socket
|
||||
|
||||
Reference in New Issue
Block a user