From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: how to check for already existing hypervisor? Date: Mon, 25 Jun 2012 10:07:46 +0100 Message-ID: <20120625090746.GD1488@ocelot.phlegethon.org> References: <20120621004447.GA12981@mean_maschine.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20120621004447.GA12981@mean_maschine.fritz.box> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: palutke.ralph@gmx.de Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org At 02:44 +0200 on 21 Jun (1340246688), palutke.ralph@gmx.de wrote: > Hi guys, > > let me shortly introduce myself. I'm a student and recently work on my bachelor thesis. My goal is to write a little hypervisor. > I'm not quite sure if this is the right mailing list, but i guess you'll gonna tell me. > i have two quick questions: > > 1. before i can use the vmxon instruction i do have to set vmxe flag in cr4 register. but what if some hypervisor is already running? is there a way to check > if one is running?? A lot of hypervisors report their presence in CPUID leaves - have a look at xen-detect in the tools/ directory for how to spot Xen. Tim.