On 11.08.2017 08:09, Wanpeng Li wrote: > 2017-08-11 10:43 GMT+08:00 Wanpeng Li <kernellwp@xxxxxxxxx>: >> 2017-08-11 9:20 GMT+08:00 Wanpeng Li <kernellwp@xxxxxxxxx>: >>> 2017-08-11 7:09 GMT+08:00 Wanpeng Li <kernellwp@xxxxxxxxx>: >>>> 2017-08-11 5:15 GMT+08:00 David Hildenbrand <david@xxxxxxxxxx>: >>>>> This version should no longer result in a panic :( >>>>> >>>>> (note to self: always retest after tiny changes) >>>>> >>>>> v1 -> v2: >>>>> - fix typo (invalid guest page-walk length) >>>>> >>>>> David Hildenbrand (2): >>>>> KVM: VMX: cleanup EPTP definitions >>>>> KVM: VMX: always require WB memory type for EPT >>>> >>>> Hmm, I saw these patches in kvm/queue, and linux guest stuck during >>>> boot due to patch 1/2. >>> >>> Sorry, I make a mistake. The commit which should be blamed is this >>> one: https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?h=queue&id=c016004494b0914205e3c4aa23ea92cfb57ba6ee >> >> After several rounds testing, it is still patch 1/2. Please have a try, David. > > I found that both this patch 1/2 and the Brijesh's patch have issues. > I just posted a patch to fix Brijesh's commit since his commit has > already been merged in kvm/next branch. > > Regards, > Wanpeng Li > Hi Wanpeng, thanks for testing. As far as I can see kvm/queue contains v1 of this patch, which has a BUG fixed in this series. Did you try with this patch here or with kvm/queue? -- Thanks, David