diff options
author | Matthew Rosato <mjrosato@linux.ibm.com> | 2022-09-20 15:30:25 -0400 |
---|---|---|
committer | Janosch Frank <frankja@linux.ibm.com> | 2022-09-21 16:18:38 +0200 |
commit | 189e7d876e48d7c791fe1c9c01516f70f5621a9f (patch) | |
tree | a7e47eef70156a4f958d46e52a891a09335aa990 /tools/testing/selftests/kvm/lib/string_override.c | |
parent | 70ba8fae27758cc2679a948b03d8a9ca18f1dcb1 (diff) |
KVM: s390: pci: register pci hooks without interpretation
The kvm registration hooks must be registered even if the facilities
necessary for zPCI interpretation are unavailable, as vfio-pci-zdev will
expect to use the hooks regardless.
This fixes an issue where vfio-pci-zdev will fail its open function
because of a missing kvm_register when running on hardware that does not
support zPCI interpretation.
Fixes: ca922fecda6c ("KVM: s390: pci: Hook to access KVM lowlevel from VFIO")
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Link: https://lore.kernel.org/r/20220920193025.135655-1-mjrosato@linux.ibm.com
Message-Id: <20220920193025.135655-1-mjrosato@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/string_override.c')
0 files changed, 0 insertions, 0 deletions