@@ -999,6 +999,36 @@ the vfio_ap mediated device to which it is assigned as long as each new APQN
999
999
resulting from plugging it in references a queue device bound to the vfio_ap
1000
1000
device driver.
1001
1001
1002
+ Driver Features
1003
+ ===============
1004
+ The vfio_ap driver exposes a sysfs file containing supported features.
1005
+ This exists so third party tools (like Libvirt and mdevctl) can query the
1006
+ availability of specific features.
1007
+
1008
+ The features list can be found here: /sys/bus/matrix/devices/matrix/features
1009
+
1010
+ Entries are space delimited. Each entry consists of a combination of
1011
+ alphanumeric and underscore characters.
1012
+
1013
+ Example:
1014
+ cat /sys/bus/matrix/devices/matrix/features
1015
+ guest_matrix dyn ap_config
1016
+
1017
+ the following features are advertised:
1018
+
1019
+ ---------------+---------------------------------------------------------------+
1020
+ | Flag | Description |
1021
+ +==============+===============================================================+
1022
+ | guest_matrix | guest_matrix attribute exists. It reports the matrix of |
1023
+ | | adapters and domains that are or will be passed through to a |
1024
+ | | guest when the mdev is attached to it. |
1025
+ +--------------+---------------------------------------------------------------+
1026
+ | dyn | Indicates hot plug/unplug of AP adapters, domains and control |
1027
+ | | domains for a guest to which the mdev is attached. |
1028
+ +------------+-----------------------------------------------------------------+
1029
+ | ap_config | ap_config interface for one-shot modifications to mdev config |
1030
+ +--------------+---------------------------------------------------------------+
1031
+
1002
1032
Limitations
1003
1033
===========
1004
1034
Live guest migration is not supported for guests using AP devices without
0 commit comments