2018-03-06 4:04 GMT+08:00 Sean Christopherson <sean.j.christopherson@xxxxxxxxx>: > This series eliminates usage of legacy code that is obsolete when > unrestricted guest is enabled. > > Because unrestricted guest (Westmere) was introduced one generation > later than EPT (Nehalem), KVM's initial support for EPT by necessity > retained/introduced soon-to-be-legacy code for handling a guest with > EPT enabled and CR0.PG/PE==0. Some of this now-legacy code/behavior > wasn't correctly deprecated when KVM added support for unrestricted > guest, e.g. KVM still creates and loads identity mapped IA32 page > tables when the guest disables paging, even though CR0.PG is cleared > in hardware. Thanks for the patchset, in addition, I think A20 emulation is still missing for vm8086. Regards, Wanpeng Li