Re: [PATCH v12 09/17] s390/vfio-ap: sysfs attribute to display the guest's matrix
Thanks for the review. On 11/28/20 7:49 PM, Halil Pasic wrote: On Tue, 24 Nov 2020 16:40:08 -0500 Tony Krowiak wrote: The matrix of adapters and domains configured in a guest's APCB may differ from the matrix of adapters and domains assigned to the matrix mdev, so this patch introduces a sysfs attribute to display the matrix of adapters and domains that are or will be assigned to the APCB of a guest that is or will be using the matrix mdev. For a matrix mdev denoted by $uuid, the guest matrix can be displayed as follows: cat /sys/devices/vfio_ap/matrix/$uuid/guest_matrix Signed-off-by: Tony Krowiak Code looks good, but it may be a little early, since the treatment of guset_matrix is changed by the following patches.
Re: [PATCH v12 09/17] s390/vfio-ap: sysfs attribute to display the guest's matrix
On Tue, 24 Nov 2020 16:40:08 -0500 Tony Krowiak wrote: > The matrix of adapters and domains configured in a guest's APCB may > differ from the matrix of adapters and domains assigned to the matrix mdev, > so this patch introduces a sysfs attribute to display the matrix of > adapters and domains that are or will be assigned to the APCB of a guest > that is or will be using the matrix mdev. For a matrix mdev denoted by > $uuid, the guest matrix can be displayed as follows: > >cat /sys/devices/vfio_ap/matrix/$uuid/guest_matrix > > Signed-off-by: Tony Krowiak Code looks good, but it may be a little early, since the treatment of guset_matrix is changed by the following patches.