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-users] Switch Hardware Virtualization On/Off

To: "Nikola K. Zahariev" <nirangor@xxxxxxxxx>
Subject: Re: [Xen-users] Switch Hardware Virtualization On/Off
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Tue, 9 Jun 2009 16:38:39 +0700
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Jun 2009 02:39:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6c8c83f70906090225g3598a7c8rb46774de89b03ce4@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <6c8c83f70906090225g3598a7c8rb46774de89b03ce4@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Jun 9, 2009 at 4:25 PM, Nikola K. Zahariev<nirangor@xxxxxxxxx> wrote:
> When is actually hardware virtualization being used?

When you use HVM guest.

> If we assume the CPU supports HV, does XEN use it by default?

Xen tries to use it when you create HVM guest. If it's not available,
domU creation failed.

> Is there a possibility to switch it off, so that paravirtualization is used?

Use PV guest.

> How can I check if I am currently using HV or PV?

Check what type of domU you're using. It's easiest to see from dom0
(by looking at domU config or xenstore).
There are also files/folder specific to PV domU (for example, on linux
PV domU "cat /sys/hypervisor/type" should return "xen"). Or you could
look at this : http://lxr.xensource.com/lxr/source/tools/misc/xen-detect.c


Xen-users mailing list