Drivers: hv: vmbus: Deactivate sysctl_record_panic_msg by default in isolated guests
authorAndrea Parri (Microsoft) <parri.andrea@gmail.com>
Tue, 1 Mar 2022 14:11:35 +0000 (15:11 +0100)
committerWei Liu <wei.liu@kernel.org>
Tue, 29 Mar 2022 11:59:44 +0000 (11:59 +0000)
commit9f8b577f7b43b2170628d6c537252785dcc2dcea
tree63e94a138922665645f3b689945479983cb7698c
parentf443e374ae131c168a065ea1748feac6b2e76613
Drivers: hv: vmbus: Deactivate sysctl_record_panic_msg by default in isolated guests

hv_panic_page might contain guest-sensitive information, do not dump it
over to Hyper-V by default in isolated guests.

While at it, update some comments in hyperv_{panic,die}_event().

Reported-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Link: https://lore.kernel.org/r/20220301141135.2232-1-parri.andrea@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/vmbus_drv.c