]> git.baikalelectronics.ru Git - kernel.git/commit
s390/hypfs: include z/VM guests with access control group set
authorVasily Gorbik <gor@linux.ibm.com>
Thu, 20 Jan 2022 15:23:19 +0000 (16:23 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 26 Jan 2022 17:42:39 +0000 (18:42 +0100)
commitde009987deac4f93600c0dc6a43c99deb7b4144d
tree13ea28d4760d676d9f42df1abd301e662c625f04
parent34956bf21867fc6aba95b1fe19eaef4e78e1d555
s390/hypfs: include z/VM guests with access control group set

Currently if z/VM guest is allowed to retrieve hypervisor performance
data globally for all guests (privilege class B) the query is formed in a
way to include all guests but the group name is left empty. This leads to
that z/VM guests which have access control group set not being included
in the results (even local vm).

Change the query group identifier from empty to "any" to retrieve
information about all guests from any groups (or without a group set).

Cc: stable@vger.kernel.org
Fixes: 830f9c7e77c5 ("[S390] Hypervisor filesystem (s390_hypfs) for z/VM")
Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/hypfs/hypfs_vm.c