mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-08 22:05:20 +00:00
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
@ -811,6 +811,11 @@ components:
|
||||
properties:
|
||||
path:
|
||||
type: string
|
||||
iommu:
|
||||
type: boolean
|
||||
default: false
|
||||
id:
|
||||
type: string
|
||||
|
||||
VmRemoveDevice:
|
||||
type: object
|
||||
|
Loading…
Reference in New Issue
Block a user