mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
vmm: openapi: Remove mention to net fds
While cloud-hypervisor does support receiving the file descriptors of a tuntap device, advertising the fds structure via the openAPI can lead to misinterpretations of what can and what should be done. An unadvertised consumer will think that they could rather just set the file descriptors there directly, or even pass them as a byte array. However, the proper way to go in those cases would be actually sending those via send_msg(), together with the request. As hacking the openAPI auto-generated code to properly do this is not *that* trivial, and as doing so during a `create VM` request is not supported, we better not advertising those. Please, for more details, also check: https://github.com/cloud-hypervisor/cloud-hypervisor/pull/3607#issuecomment-1020935523 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
9bd1ece9cf
commit
0dafd47a7c
@ -771,11 +771,6 @@ components:
|
|||||||
default: "Client"
|
default: "Client"
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
fds:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: integer
|
|
||||||
format: int32
|
|
||||||
pci_segment:
|
pci_segment:
|
||||||
type: integer
|
type: integer
|
||||||
format: int16
|
format: int16
|
||||||
|
Loading…
Reference in New Issue
Block a user