From 45f208b9a09e11155e5acbcf25d90916b0965c05 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Tue, 11 Mar 2025 06:46:52 -0700 Subject: [PATCH] Add HW_PCI_ONE_TIME_USE trait Change-Id: Ic92ef61d676def9acb2b88b3dbbc3a55c1cea1ee --- os_traits/hw/pci/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/os_traits/hw/pci/__init__.py b/os_traits/hw/pci/__init__.py index e26ce82..d0e3bad 100644 --- a/os_traits/hw/pci/__init__.py +++ b/os_traits/hw/pci/__init__.py @@ -17,4 +17,9 @@ TRAITS = [ # PCI device can be live-migrated from one compute node to another # with the same device. 'LIVE_MIGRATABLE', + # PCI device lifecycle is being managed as "one time use". Compute manager + # will set reserved=total during assignment and leave it as such during + # deallocation, requiring an external agent to un-reserve it before it + # can be used again. + 'ONE_TIME_USE', ]