vmm: openapi: Add the 'iommu' and 'id' option to 'VmAddDevice'
This patch adds the missing the `iommu` and `id` option for `VmAddDevice` in the openApi yaml to respect the internal data structure in the code base. Also, setting the `id` explicitly for VFIO device hotplug is required for VFIO device unplug through openAPI calls. Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
af0c4c1659
commit
6d30fe05e4
1 changed files with 5 additions and 0 deletions
|
|
@ -811,6 +811,11 @@ components:
|
|||
properties:
|
||||
path:
|
||||
type: string
|
||||
iommu:
|
||||
type: boolean
|
||||
default: false
|
||||
id:
|
||||
type: string
|
||||
|
||||
VmRemoveDevice:
|
||||
type: object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue