Skip navigation
VMware

This Question is Answered

1 "correct" answer available (10 pts)
10,401 Views 10 Replies Last post: Aug 10, 2010 12:00 AM by AWo RSS
AWo Guru User Moderators 7,340 posts since
Nov 27, 2003
Currently Being Moderated

Apr 18, 2008 3:57 AM

Why Intel-VT/AMD-V for 64 Bit guests?

From the ESX 3.5 Supported Guest Operating Systems:

 

"There are specific hardware requirements for 64-bit guest operating system support. For AMD Opteron-based systems, the processors must be Opteron Rev E and later. For Intel Xeon-based systems, the processors must include support for Intel Virtualization Technology (VT). Many servers that include CPUs with VT support might ship with VT disabled by default, and VT must be enabled manually. If your CPUs support VT but you do not see this option in the BIOS, contact your vendor to request a BIOS version that lets you enable VT support."

 

I think I know what Intel-VT and AMD-V is for. But I do not know why running 64 Bit guests require VT technologie? I thought 64 Bit should be independent from VT.

 

Can someone explain the relationship, please?

 

AWo

[:o]===[o:] =Would you like to have this posting as a ringtone on your cell phone? Send "Posting" to 911 for only $999999,99!=
 
daniel_uk Expert 1,026 posts since
Oct 24, 2005
Currently Being Moderated
1. Apr 18, 2008 6:34 AM in response to: AWo
Re: Why Intel-VT/AMD-V for 64 Bit guests?

 

My high level answer is it enables use of binary translation code in the VMM.

 

 

Probably completely wrong but thats how I see it!

 

 

Dan

 

 

daniel_uk Expert 1,026 posts since
Oct 24, 2005
Currently Being Moderated
3. Apr 18, 2008 7:11 AM in response to: AWo
Re: Why Intel-VT/AMD-V for 64 Bit guests?

 

http://download3.vmware.com/vmworld/2005/pac346.pdf

 

 

 

 

 

maybe this helps...

 

 

mreferre Virtuoso 3,096 posts since
Jan 16, 2004
Currently Being Moderated
5. Apr 20, 2008 2:09 AM in response to: AWo
Re: Why Intel-VT/AMD-V for 64 Bit guests?

 

The simplest way to see this is that AMD-V and Intel-VT are generally meant to provide a different way to virtualize an unmodified guest. This is alternative to what VMware does with Binary Translation. In the long run these should even provide better performance.

 

 

However Intel removed some basic protection features for 64-bit operations in the new processors so while VMware could be use independently from these features..... they do require Intel-VT for 64-bit guests to provide the same level of protection. It's interesting to notice that this is specific to Intel ... as you can create 64-bit guests on AMD processors WITHOUT AMD-V (granted your opteron is at a certain revision .... that I don't remember right now).

 

 

Massimo.

 

 

Massimo Re Ferre' VMware vCloud Architect twitter.com/mreferre www.it20.info
ksc Expert VMware Employees 515 posts since
Sep 21, 2005
Currently Being Moderated
6. Apr 30, 2008 1:31 PM in response to: mreferre
Re: Why Intel-VT/AMD-V for 64 Bit guests?

Exactly right.  To fill in terms (so any interested parties can go Google...)

 

Running 64-bit binary translation requires "segment truncation" support.  Modern OSes don't even use segments anymore, so both AMD and Intel removed segments from their x86-64 specs.  Turns out VMware's binary translation technology does use segments ... AMD added limited (but good enough) support early on (RevC Opterons did not have it, RevD and later do) specifically for VMware; Intel does not support the segment truncation feature, so on Intel VT is necessary instead.

 

Either VT/SVM or segment truncation can be used to protect the VMM from being overwritten by the Guest OS, but at least one of these technologies is required.  (We have internal builds that run without protection, but they are used for benchmarks only and are unsafe for real-world use).

Saad3000 Lurker 1 posts since
Nov 20, 2009
Currently Being Moderated
7. Nov 20, 2009 2:23 AM in response to: ksc
Re: Why Intel-VT/AMD-V for 64 Bit guests?

 

Dear All,

 

 

 

 

 

 

Quick question: Will Vmware Server 2 run "Windows Server 2008 64bit guest os" on Server 2008 64bit Host, without the option of VT in BIOS or the support of VT? knowing that my Intel CPU is a raw 64bit support.

 

 

      • Note that I have tried it with Vmware Workstation 7 and Windows 2008 Server 64bit did not install as a guest os.

 

 

 

 

 

So I wanted to check with you guys if Vmware Server 2 does support running 64bit guest o/s without the need of VT unlike Workstation 7.

 

 

 

 

 

Regards,

 

 

Saad

 

 

 

 

 

DheereshLodhi Enthusiast 82 posts since
Jul 13, 2009
Currently Being Moderated
9. Aug 9, 2010 11:18 PM in response to: AWo
Re: Why Intel-VT/AMD-V for 64 Bit guests?

Intel and AMD are creating methods in which a virtual

Ring 0 (commonly called Ring -1) can be presented to the guest for direct

process execution through the VMM. ESX 3 cannot take advantage of this

functionality at this point. Instead, the VMM must send the instructions to the

VMkernel to execute the instruction and return it to the guest. The VMM virtualizes

this process to make the guest think that it is running in an actual Protection

Ring 0. Due to the fact that the instructions must be virtualized and

executed within the VMkernel there is virtualization overhead associated with

these calls. The amount of overhead varies depending on the type of instruction

and the overall workload being processed by the VMkernel. You can tell

how often a guest operating system needs to run in Virtualization Mode by capturing

the total percentage of Kernel or System Mode Process utilization.

50

Figure 2- 6: Processing Rings

Fortunately for us, the VMM responsible for running each virtual machine

knows when an instruction requires Virtualization Mode and has the capability

to properly move itself into the proper execution mode. When the requirement

for Virtualization Mode has been met, the VMM will move itself back into direct

execution mode.

Hardware Virtualization Enhancements

As mentioned earlier Intel and AMD have new processors on the market that

have virtualization enhancements integrated into the processors themselves. At

this point in time VMware ESX 3.0 does support some of the functionality, but

not all. As an example, in order to run a 64-bit guest operating system ESX

requires the use of a virtualization enhanced processor. This allows the

VMkernel, which is a 32-bit kernel to run 64-bit instructions for the 64-bit

guest. Alternatively, ESX 3 does not have the capability to present a virtual

Ring 0 to the guest operating system for Direct Execution Mode processing of

Kernel Mode Processes.

Bookmarked By (0)

Share This Page

Communities