[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Running Linux VM in para mode with Intel VT enabled

  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: Matthias Blankenhaus <matthiasblankenhaus@xxxxxxxxx>
  • Date: Thu, 20 Sep 2012 11:02:30 -0700 (PDT)
  • Delivery-date: Thu, 20 Sep 2012 18:03:34 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=XoIDG2RoxgizAjA20DhHWxavJzojIULFoPCqhOqTBnfWdc1Q4OA7w2DPtLEVyzO9BLJnnUz+ZTCRV5YuAvbSPsckdVJblFTbTWCTixBDPPm0+/KwO2hh8MLGx5NF2bjzL8nadoAGTI/Ks2jaOGYGfia/J5L8ojeB6BoMnF9Nios=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

From: kevin parker <kevin.parker092@xxxxxxxxx>
To: xen-users@xxxxxxxxxxxxx
Sent: Thursday, September 20, 2012 8:34 AM
Subject: [Xen-users] Running Linux VM in para mode with Intel VT enabled

Hi all,
        I am having a server running XEN,with ubuntu 12.04 as Domain 0.
Intel VT is turned on by default and i dont want to run any Windows OS as VM.In that case
1. how can i makesure that all the created VM will be in
paravirtualized mode even with VT enabled?
I have heard that in Full Virtualization hypervisor needs to work hard for emulating all the underlying hardware,which may reduce performance for too much i/o specific applications when compared to para mode.
The difference between running a guest vm as a PV vs. as a HVM is controlled by the guest vm's configuration.   In particular, if your guest vm's configuration contains the following lines, then the guest would be launched as a HVM:
kernel = '/usr/lib/xen-4.0/boot/hvmloader'
Thus, if you want to ensure that your Ubunto guests runs as a PV you need to specify something along the following lines:
kernel = '/boot/vmlinuz-'       # substitute this with your specific Ubuntu kernel
ramdisk = '/boot/initrd-'  # substitute this with your specific Ubuntu ramdisk, if you want to use it, this is optional
extra = 'selinux=0 elevator=noop'  # not strictly necessary, but allows you to pass parameters during boot to the kernel
For more infos check this out: http://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html#paravirtualised__pv__guest_specific_options

2.Can i be able to run Linux VM in para mode with VT enabled?

3.Will simply turning on VT support changes virtualization type from para to full for all vms created on that machine?

4.Will there be any performance improvement for VM running Linux OS if VT is enabled?
5.Is it normal to miss vmx flag in /proc/cpuinfo after booting to XEN kernel,even with VT enabled?


Xen-users mailing list

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.