WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Switch Hardware Virtualization On/Off

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Switch Hardware Virtualization On/Off
From: "Nikola K. Zahariev" <nirangor@xxxxxxxxx>
Date: Tue, 9 Jun 2009 11:49:08 +0200
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Jun 2009 02:49:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2LfD9+EQg91u42kuk5BOTRwiFTdKsyyaWJ2PdJv2qZ8=; b=Jd5oc4xaG6bhdZa0l4MTs3md5BmewiGKbMD1fJIBUfd5wZa41on+4z/Omvi2olfg+0 ktZKkYIG72kh03Itp8xfOG0sgCKRRS9bcjt9evsPoafmN0sYyiFL9mV0wsDa9TBEumby Yutk1ZbzhmDhqKntt8Ct/0lHfdbD74Lednfz4=
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 :cc:content-type:content-transfer-encoding; b=hT066oG4Qg6Mp82HNWHn3o4G0UTeTpe+yR9e+FtytcUsTpDJcPfuBhRnz6nQz0LRFJ xuuUwYlCw9oqidUKgK0+59iQJIe/q7HfQAoF/TL0tbwYq2vIOsCbMhUvj7TXiE4S7oEi BYiY4MHXvSzcp12b+a04nVRut3/E8vXFfEtFY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0906090238s3a69dfebraaa317ecc49f3151@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> <7207d96f0906090238s3a69dfebraaa317ecc49f3151@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks for the quick answer!

How do I create the HVM guest?

By including the following line in the config file: builder='hvm' ?

And when I want to use PV I just drop it away?

Thanks!

br,
Nikola




On Tue, Jun 9, 2009 at 11:38 AM, Fajar A. Nugraha<fajar@xxxxxxxxx> wrote:
> 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
>
> --
> Fajar
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users