diff options
author | Lai Jiangshan <laijs@linux.alibaba.com> | 2021-12-07 17:52:30 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-10 09:38:01 -0500 |
commit | 777ab82d7ce0451fd47bb57e331548deba57394e (patch) | |
tree | 5e00debaa29d98948bea76576ba01d36dbff5cce /virt | |
parent | selftests: KVM: avoid failures due to reserved HyperTransport region (diff) | |
download | linux-dev-777ab82d7ce0451fd47bb57e331548deba57394e.tar.xz linux-dev-777ab82d7ce0451fd47bb57e331548deba57394e.zip |
KVM: X86: Raise #GP when clearing CR0_PG in 64 bit mode
In the SDM:
If the logical processor is in 64-bit mode or if CR4.PCIDE = 1, an
attempt to clear CR0.PG causes a general-protection exception (#GP).
Software should transition to compatibility mode and clear CR4.PCIDE
before attempting to disable paging.
Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Message-Id: <20211207095230.53437-1-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions