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
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/DeviceConfig"
|
$ref: "#/components/schemas/DeviceConfig"
|
||||||
|
user_devices:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/UserDeviceConfig'
|
||||||
vdpa:
|
vdpa:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@@ -1219,6 +1223,23 @@ components:
|
|||||||
x_nv_gpudirect_clique:
|
x_nv_gpudirect_clique:
|
||||||
type: integer
|
type: integer
|
||||||
format: int8
|
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:
|
TpmConfig:
|
||||||
required:
|
required:
|
||||||
- socket
|
- socket
|
||||||
|
|||||||
Reference in New Issue
Block a user