From 200cbfd0b0cfa0ebb3ab89697100b49a2ba03fc6 Mon Sep 17 00:00:00 2001 From: Hyounggyu Choi Date: Tue, 21 Jan 2025 14:03:43 +0100 Subject: [PATCH] kata-types: Introduce new type `vfio-ap-cold` for VFIO-AP coldplug This newly introduced type will be used by the VFIO-AP device handler on the agent. Signed-off-by: Hyounggyu Choi --- src/libs/kata-types/src/device.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libs/kata-types/src/device.rs b/src/libs/kata-types/src/device.rs index 1938ef38d3..d9f28d5506 100644 --- a/src/libs/kata-types/src/device.rs +++ b/src/libs/kata-types/src/device.rs @@ -22,8 +22,10 @@ pub const DRIVER_VFIO_PCI_GK_TYPE: &str = "vfio-pci-gk"; /// VFIO PCI device to be bound to vfio-pci and made available inside the /// container as a VFIO device node pub const DRIVER_VFIO_PCI_TYPE: &str = "vfio-pci"; -/// DRIVER_VFIO_AP_TYPE is the device driver for vfio-ap. +/// DRIVER_VFIO_AP_TYPE is the device driver for vfio-ap hotplug. pub const DRIVER_VFIO_AP_TYPE: &str = "vfio-ap"; +/// DRIVER_VFIO_AP_COLD_TYPE is the device driver for vfio-ap coldplug. +pub const DRIVER_VFIO_AP_COLD_TYPE: &str = "vfio-ap-cold"; /// DRIVER_9P_TYPE is the driver for 9pfs volume. pub const DRIVER_9P_TYPE: &str = "9p";