Lai Jiangshan 777ab82d7c 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>
2021-12-10 09:38:01 -05:00
..
2021-11-25 14:26:12 +01:00
2021-11-17 10:36:15 -05:00
2021-11-25 10:31:37 -08:00
2021-12-03 10:50:14 -08:00
2021-11-10 11:22:03 -08:00
2021-11-08 09:15:45 -08:00
2021-11-20 10:35:54 -08:00
2021-11-25 14:26:12 +01:00
2021-11-25 10:41:28 -08:00
2021-11-27 09:50:31 -08:00
2021-11-17 10:36:15 -05:00
2021-11-17 10:36:15 -05:00
2021-11-27 10:06:15 -08:00
2021-12-02 19:29:44 +01:00
2021-11-25 10:41:28 -08:00
2021-11-25 10:41:28 -08:00
2021-11-25 10:41:28 -08:00