From f7ad75cb12cfd3491b7dd8518607396235fa22c1 Mon Sep 17 00:00:00 2001 From: Zvonko Kaiser Date: Thu, 27 Apr 2023 09:35:05 +0000 Subject: [PATCH] gpu: Cold-plug extend the api.md Make the hypervisorconfig consistent in code and api.md Signed-off-by: Zvonko Kaiser --- src/runtime/virtcontainers/documentation/api/1.0/api.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/runtime/virtcontainers/documentation/api/1.0/api.md b/src/runtime/virtcontainers/documentation/api/1.0/api.md index 9255a96ca9..d3071a86f2 100644 --- a/src/runtime/virtcontainers/documentation/api/1.0/api.md +++ b/src/runtime/virtcontainers/documentation/api/1.0/api.md @@ -292,6 +292,10 @@ type HypervisorConfig struct { // The PCIe Root Port device is used to hot-plug the PCIe device PCIeRootPort uint32 + // ColdPlugVFIO is used to indicate if devices need to be coldplugged on the + // root port, switch or no port + ColdPlugVFIO hv.PCIePort + // BootToBeTemplate used to indicate if the VM is created to be a template VM BootToBeTemplate bool