This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Shell test for pv vs hvm (vs dom0)

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Shell test for pv vs hvm (vs dom0)
From: Stephan Seitz <s.seitz@xxxxxxxxxxxx>
Date: Sat, 23 Feb 2008 15:26:11 +0100
Cc: "dan.magenheimer@xxxxxxxxxx" <dan.magenheimer@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 23 Feb 2008 06:26:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C3E58772.14462%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: netz-haut e.K.
References: <C3E58772.14462%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20071022)
Could it be possible to define some bios magic for "hardware vendor"?
So a HVM Guest would ask "What hardware am I running on?"

Just a thought...

Keir Fraser schrieb:
There's no general way to discriminate between HVM and native from a shell
script. You might discriminate between HVM and PV on Linux by looking for
/sys/hypervisor or /proc/xen.

 -- Keir

On 22/2/08 22:38, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

Thanks for pointing this tool out!  Looks useful.

Unfortunately, for it to be broadly useful, it would have
to ship with all distros as compiling it "on demand" on
the guest is often not an option.

Attachment: s_seitz.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature

Xen-devel mailing list