ionescu007 / SimpleVisor

SimpleVisor is a simple, portable, Intel VT-x hypervisor with two specific goals: using the least amount of assembly code (10 lines), and having the smallest amount of VMX-related code to support dynamic hyperjacking and unhyperjacking (that is, virtualizing the host state from within the host). It works on Windows and UEFI.
http://ionescu007.github.io/SimpleVisor/
1.69k stars 259 forks source link

crash under my laptop #28

Closed 593749519 closed 6 years ago

593749519 commented 6 years ago

compiled and run, it crashes under windows 10 x64 on my laptop, the kernel dump is attached.
CPU: i5-7200U Memory: 8G BIOS: LENOVO R0IET38W (1.16 ), UEFI

032018-10203-01.zip

seems it run out of pages, but don't know why. I've tested on another laptop its ok.

ionescu007 commented 6 years ago

I’ll take a look, but note that I haven’t updated SimpleVisor to handle the patched Meltdown OSes. Have you applied this patch? I also need to test on RS4 and later.

On Tue, Mar 20, 2018 at 9:40 AM 593749519 notifications@github.com wrote:

compiled and run, it crashes under windows 10 x64 on my laptop, the kernel dump is attached. CPU: i5-7200U Memory: 8G BIOS: LENOVO R0IET38W (1.16 ), UEFI

032018-10203-01.zip https://github.com/ionescu007/SimpleVisor/files/1828690/032018-10203-01.zip

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ionescu007/SimpleVisor/issues/28, or mute the thread https://github.com/notifications/unsubscribe-auth/AFxIeCwzfhdJ6hapKIViIQ2H6F9JYFWQks5tgM6IgaJpZM4SxkUa .

-- Best regards, Alex Ionescu

593749519 commented 6 years ago

I hadn't patch meltdown myself, so I lookup in the windows patches, but not found KB4056890 or KB4056892.

tandasat commented 6 years ago

@593749519

Did you try the latest commit? The stack trace in the provided dump looks very similar to one I posted for https://github.com/ionescu007/SimpleVisor/pull/24, which was supposed to be fixed already.

593749519 commented 6 years ago

right! refer to HyperPlatform, I found it's required on win10 to set the invpcid control flag

ionescu007 commented 6 years ago

It seems like you are using an old build, before the commit Satoshi mentioned, which added support for INVPCID.