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

Run SimpleVisor on Xen #21

Closed consen closed 6 years ago

consen commented 7 years ago

The Xen supports Nested Virtualization, that means I can run Xen or KVM hypervisor inside a virtual machine of Xen, however I can't run SimpleVisor on Xen.

Is it able to run SimpleVisor inside a vitual machine of Xen?

ionescu007 commented 6 years ago

Can you report back why it doesn't work? What failure are you seeing? Are you able to run Hyper-V under Xen?

rianquinn commented 6 years ago

Hyper-V doesn't work on Xen natively with 4.9, but there are some patches that we have proposed to OpenXT that provides Hyper-V support for Xen. Does SimpleVisor support VMWare yet? If not, Xen certainly won't work. I know that for KVM we had to play some tricks with the debug registers Bareflank as they are not supported in KVM.

consen commented 6 years ago

@ionescu007 When I run SimpleVisor inside a virtual machine of Xen, the virtual machine hangs, maybe the Nested Virtualization function is not mature.

rianquinn commented 6 years ago

Nested virtualization in Xen is not supported at all, but it does work. SimpleVisor should be able to support it. My guess is it's something silly.

ionescu007 commented 6 years ago

It definitely works inside of VMWare.

Best regards, Alex Ionescu

On Mon, Oct 2, 2017 at 9:36 AM, Rian Quinn notifications@github.com wrote:

Nested virtualization in Xen is not supported at all, but it does work. SimpleVisor should be able to support it. My guess is it's something silly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ionescu007/SimpleVisor/issues/21#issuecomment-333590311, or mute the thread https://github.com/notifications/unsubscribe-auth/AFxIeBDayzJwYouoro_595GocMxcOyBXks5soREjgaJpZM4N0L89 .