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] para virtualised and full virtualised

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-users] para virtualised and full virtualised
From: Grok Mogger <linuximp@xxxxxxxxx>
Date: Fri, 01 Dec 2006 11:51:45 -0500
Cc: anant <ANigam@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 01 Dec 2006 08:52:09 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:user-agent:to:cc:subject:references:in-reply-to:mime-version:content-transfer-encoding:content-type:from; b=ut4vUJmnBujQIoAjEarRP9RwApZYzKzGd7E0C5KYdue2Y9cSz1agotiw1JMWfDgLdzB6avDbSp6HfzGpMxEa3h7H/0kU0hsY0mvbjIcBT3wm+5XLBAjBreeC0vBtDl5J5FdFwT4gdUroINj8/ZcCXjGPZRpk+FE41bj9xz9b0js=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E178D@xxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <907625E08839C4409CE5768403633E0B018E178D@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)
Petersson, Mats wrote:

[*snip*]

2) My understanding about running Xen "fully virtualized" is that it requires 3 things. i) Your processor must support Virtualization Technology (VT) (called "Intel VT" by Intel or "AMDV" by AMD). ii) Your BIOS must support VT. If it does, you'll have some options to turn VT on and off from within the BIOS.

Currently, AMD doesn't support "switching off" AMD-V, so it's not
dependant on any BIOS features - it's only dependant on having "the
right model of processor".

Thanks for correcting me about the BIOS. So just to be clear, the BIOS has absolutely nothing to do with it, right? The processor is all that matters.

I know that Intel claims on their website that your BIOS must support VT, but I've seen so many people suggest otherwise now that I'm assuming that must be false.


iii) Xen must be compiled to support VT. I think I recall seeing some instructions about how to compile Xen to support full virtualization somewhere in the Xen 3.0 manual...

There are a few things that need to be done to build for HVM (VT) mode,
but the actual Xen kernel supports HVM by and of itself without any
settings or adjustments - just build the code and it's there.
The things that need special attention is the fact that to boot a
fully-virtualized domain (guest), you'll need a BIOS that loads the OS
itself (just like you need for a REAL machine). The BIOS requires a
special compiler to be downloaded. I believe this is now an ERROR rather
than a WARNING, but I'm not 100% sure. Either way, if you're not certain
if this works, go to <xen-source-dir>/tools/firmware and do "make". If
it builds ok and you have a hvmloader executable in the hvmloader
direectory, then you've got all the tools. If that's not the case, then
you'll need to follow the instructons from the makefile.

So you're NOT referring to the BIOS that is actually on your motherboard in a flash rom here, right? You mean that you need to have a separate BIOS resident on the hard disk (which will appear as an executable called "hvmloader"). Could you point me to where this is documented? I don't recall seeing it anywhere.

Also, what kind of special compiler would I need? Where could I download it? This is the first time I've heard any mention of that.

(In case you haven't figured out, I've never actually used full virtualization; I don't have hardware for it at the moment. I'm running Xen with paravirtualization, but I'd like to go ahead and figure this HVM stuff out for the future. =) )

3) I believe you can determine whether or not your processor supports Intel VT by going to looking at the text file "/proc/cpuinfo". In that file, you will see a line that starts with the word "flags". The line will most likely also contain a list of 3 or 4 letter abbreviations that (to me at least) mostly don't make a whole lot of sense. If you see "vmx" in that list, supposedly that means that you have a VT enabled processor. I have read this a few places on the internet, but am a little skeptical myself.

For AMD processors, you'll need to look for "svm", "vmx" is the Intel
name for this feature.

Okay, cool.  =)

Oh! One more thing though. At the moment, Xen does not support AMD processors with VT, right? It only works with Intel VT enabled processors. Is that right?

Thanks for replying,
-GM

[*snip*]


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.15.3/562 - Release Date: 12/1/2006 1:12 
PM


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