Re: Some linux kernel with KAISER/KPTI patch can't work under qemu + haxm.

2018-01-15 Thread lepton
FYI, this was fixed by https://www.spinics.net/lists/stable/msg209612.html On Tue, Jan 9, 2018 at 5:36 PM, lepton wrote: > I tried some debug, it seems it crashed after switch CR3: > > > I tried 2 different kernel, so actual crash points are different, but > they have same pattern. It crashed wh

Re: Some linux kernel with KAISER/KPTI patch can't work under qemu + haxm.

2018-01-09 Thread lepton
I tried some debug, it seems it crashed after switch CR3: I tried 2 different kernel, so actual crash points are different, but they have same pattern. It crashed when trying to pop %rax after switch CR3: for 4.10 with kaiser patch: it crashed at this point: Dump of assembler code for function

Some linux kernel with KAISER/KPTI patch can't work under qemu + haxm.

2018-01-04 Thread lepton
It seems for some reason, some linux kernel with KAISER/KPTI patch can't work with qemu + haxm. The mainline kernel from Linus is fine. But the patch to 4.4/4.10 doesn't work. I am not familiar with HAXM and KPTI either. so not sure if this is a qemu bug or KPTI bug or haxm bug. The same kernel w