Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Facter does not recognise Xen HVM DomU

Received: by 10.224.19.129 with SMTP id a1mr830718qab.0.1281508689227;
        Tue, 10 Aug 2010 23:38:09 -0700 (PDT)
X-BeenThere: puppet-users@googlegroups.com
Received: by 10.224.66.218 with SMTP id o26ls1434228qai.3.p; Tue, 10 Aug 2010 
	23:38:05 -0700 (PDT)
Received: by 10.224.95.10 with SMTP id b10mr823974qan.21.1281508685164;
        Tue, 10 Aug 2010 23:38:05 -0700 (PDT)
Received: by 10.224.95.10 with SMTP id b10mr823973qan.21.1281508685127;
        Tue, 10 Aug 2010 23:38:05 -0700 (PDT)
Return-Path: <pnas...@gmail.com>
Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.216.176])
        by gmr-mx.google.com with ESMTP id y27si4156745qce.6.2010.08.10.23.38.04;
        Tue, 10 Aug 2010 23:38:04 -0700 (PDT)
Received-SPF: pass (google.com: domain of pnas...@gmail.com designates 209.85.216.176 as permitted sender) client-ip=209.85.216.176;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of pnas...@gmail.com designates 209.85.216.176 as permitted sender) smtp.mail=pnas...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by mail-qy0-f176.google.com with SMTP id 34so10314874qyk.7
        for <puppet-users@googlegroups.com>; Tue, 10 Aug 2010 23:38:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:received:in-reply-to
         :references:date:message-id:subject:from:to:content-type;
        bh=30YR2gMJnVXVDq1ho62dlJ2ZOw+KlX758jTQ8IqW9b8=;
        b=i8uAH8ySPgPnLnvUCL/S7aNSPOsQyaVAOqMMkrgf7SSN61kFGmnkd9ONWLp/9hCO9o
         45R6kddKJCgrlIj4OXvujEimeJT9Z9ZYxDKywSRlJiIMMC7Dl0rEmxVuMNRW3VlELcno
         hSVmRY9vIgBouDkki+6sxQE6FabGOASwyMa5c=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        b=IEuS7JhbSdSjqJCxvi9WbRkyHlhLWh5slJ22PpO5YrYuddSgtUdDq0h6XP51hYITBg
         qC13Y9H1k/oiQhA7CjCKSKDk1foAk68gB/07zC16bSeSi/wEhzp7fg48wMinmfbf0z5Z
         g/PJ0Ai/FNjbSm0qgxHGAqAYg8UzjEkI1b294=
MIME-Version: 1.0
Received: by 10.220.62.72 with SMTP id w8mr11035657vch.209.1281508682630; Tue, 
	10 Aug 2010 23:38:02 -0700 (PDT)
Received: by 10.220.116.139 with HTTP; Tue, 10 Aug 2010 23:38:02 -0700 (PDT)
In-Reply-To: <1281493523-sup-7...@reinh.local>
References: <4C5D5594.9090...@gmail.com>
	<1281462679-sup-6...@reinh.local>
	<4C61A085.4050...@gmail.com>
	<1281493523-sup-7...@reinh.local>
Date: Wed, 11 Aug 2010 07:38:02 +0100
Message-ID: <AANLkTinSA=h4nFn8DE3f=5t9xA8MsyjkEb=E-hf10...@mail.gmail.com>
Subject: Re: [Puppet Users] Facter does not recognise Xen HVM DomU
From: Paul Nasrat <pnas...@gmail.com>
To: puppet-users@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1

On 11 August 2010 03:26, Rein Henrichs <r...@puppetlabs.com> wrote:
> Jean,
>
> Thanks for the info, I'll add it to the ticket.

Note that the "supported" way in terms of hardware is via the cpuid
Hypervisor present leaf and Hypervisor CPUID Information Leaf

See eg http://git.annexia.org/?p=virt-what.git;a=blob;f=virt-what-cpuid-helper.c;h=3024c375cb7b71142ded2a6a5836574d5b21f2f5;hb=HEAD

http://micky.ibh.net/~liske/imvirt.html

But that would involve making part of facter C and would probably
break jruby support, unless we used ffi somehow

Paul