diff options
author | Eric Auger <eric.auger@redhat.com> | 2021-06-29 10:22:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-18 14:43:40 +0300 |
commit | 4dbcbea2bf3920170d9317b1429576586da6cd9f (patch) | |
tree | c3e8aa80ea6fe225e5780145ca9a98d5122472be /tools/testing | |
parent | 3533c194f2301f55366eb84271404353dd53a5d4 (diff) | |
download | linux-4dbcbea2bf3920170d9317b1429576586da6cd9f.tar.xz |
misc/pvpanic-pci: Allow automatic loading
[ Upstream commit 28b6a003bcdfa1fc4603b9185b247ecca7af9bef ]
The virtual machine monitor (QEMU) exposes the pvpanic-pci
device to the guest. On guest side the module exists but
currently isn't loaded automatically. So the driver fails
to be probed and does not its job of handling guest panic
events.
Instead of requiring manual modprobe, let's include a device
database using the MODULE_DEVICE_TABLE macro and let the
module auto-load when the guest gets exposed with such a
pvpanic-pci device.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20210629072214.901004-1-eric.auger@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions