diff options
| author | Aaron Lewis <[email protected]> | 2021-06-23 20:34:27 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-06-24 22:00:49 +0000 |
| commit | 88213da2351479c529c368a9b763c4d52f02255b (patch) | |
| tree | 66b176dbc02246d968e296ec41ff844d32797632 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | selftests: kvm: Allows userspace to handle emulation errors. (diff) | |
| download | kernel-88213da2351479c529c368a9b763c4d52f02255b.tar.gz kernel-88213da2351479c529c368a9b763c4d52f02255b.zip | |
kvm: x86: disable the narrow guest module parameter on unload
When the kvm_intel module unloads the module parameter
'allow_smaller_maxphyaddr' is not cleared because the backing variable is
defined in the kvm module. As a result, if the module parameter's state
was set before kvm_intel unloads, it will also be set when it reloads.
Explicitly clear the state in vmx_exit() to prevent this from happening.
Signed-off-by: Aaron Lewis <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
