LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2012, 08:38 AM   #1
Rohit_4739
Member
 
Registered: Oct 2010
Distribution: Red Hat
Posts: 228

Rep: Reputation: 9
Thumbs down Facing problems installing KVM on RHEL6


Hi LQ Folks,

I am running RHEL 6 on VirualBox/VMWare VM and on that VM i am trying to create a KVM. So going by the requirements i installed all the Virtualization packages.

But there are few problems i am having and here are they:

1. I could not find the package kmod-kvm shipped with RHEL6 DVD.

2. Even after configuring yum i could not find the group kvm.

3. Another issue is that command "egrep 'vmx|svm' /proc/cpuinfo doesn't show my any results, so that lets me think if my processor doesn't support Virtualization technology. But it does and i have configured Virtualization in BIOS also.

So could you guys please let me know if it is that we can't install KVM on RHEL6 already running in a virtual machine i.e. as i am runnig RHEL6 in VirualBox and or VMWare VM.

Please let me know if you need any further information.

Thanks in advance.

Rohit
 
Old 02-26-2012, 01:40 AM   #2
anotherlinuxuser
Member
 
Registered: Jan 2007
Location: Alberta Canada
Distribution: Fedora/Redhat/CentOS
Posts: 68

Rep: Reputation: 19
You are correct, you cannot use a processor's VT technoglogy inside a virtual machine. The host OS (the OS installed on the real hardware) is the only OS with access to the entire real processor; therefore, only the host OS can provide VT services to guests. The virtual machines see a virtual processor, and the virtual processor cannot have VTx. This is not a limitation of VMware or RHEL, it is a hardware limitation.
 
Old 02-27-2012, 07:45 AM   #3
Rohit_4739
Member
 
Registered: Oct 2010
Distribution: Red Hat
Posts: 228

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by anotherlinuxuser View Post
You are correct, you cannot use a processor's VT technoglogy inside a virtual machine. The host OS (the OS installed on the real hardware) is the only OS with access to the entire real processor; therefore, only the host OS can provide VT services to guests. The virtual machines see a virtual processor, and the virtual processor cannot have VTx. This is not a limitation of VMware or RHEL, it is a hardware limitation.
First of all thanks for the reply, i really appreciate your help, though i understand your explaination, i still have some questions which are as below:

1. I have 32 bit host and i have installed 64 bit guest RHEL on VirtualBox and that worked only when i enabled Virtualization and VTx in the BIOS. Disabling this in BIOS doesn't let me install any 64 bit guest in VirualBox. So does that mean VM is seeing the Virtualization enabled on the physical host processor and because of that it allows me to install 64 bit guest OS.

2. VirtualBox or VMWare does have the setting to Enable or Disable the IntelVT or AMD-V technology for the guest VM. So does that mean it has facility to use VT technology of the host processor for Virtual VMs.

Thanks.
Rohit
 
Old 02-28-2012, 12:34 AM   #4
anotherlinuxuser
Member
 
Registered: Jan 2007
Location: Alberta Canada
Distribution: Fedora/Redhat/CentOS
Posts: 68

Rep: Reputation: 19
1) Yes, the VTx technogolgy enables a 64 bit guest OS to run directly on the real CPU (only 64 bit processors have VTx). With VTx, you can run a 64 bit guest on a 32 bit host, because the VTx gives the guest access to the 64 bit CPU via VTx. When VTx is turned off in the bios, VMware and VirtualBox must emulate a processor (with a a significant performace penalty), and a 32-bit host can only emulate a 32 bit CPU, so the 64 bit OS does not work. I think, but not 100% sure, that even a 64 bit host OS can only emulate a 32-bit processor without VTx, but its been a while since I tried that, so I may be wrong.

2) I mostly use KVM now for my virtuals, so I am not sure on this either, but I would say the enable/disabling of VTx inside VMWare and VBox, on a per VM basis, would also mean only a 32-bit guest can run in a virtual with VTx disabled. If a 64 bit guest can run on a 32 bit host, with VTx turned off at the hypervisor (ie VMware/VBox interface), I would question if the option is really disabling VTx.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to install rhel6/centos6 in GUI mode in KVM Gil@LQ Linux - Virtualization and Cloud 5 12-01-2011 06:22 AM
can we use kvm vm's created on rhel6 on ubantu kvm Gil@LQ Linux - Virtualization and Cloud 1 11-28-2011 03:39 PM
Port forwarding is not working on RHEL6.1 KVM dinesh.tripathi30 Linux - Virtualization and Cloud 0 07-21-2011 01:49 AM
how to run kvm(rhel6) on 32 bit architecture happyprince1990 Linux - Newbie 2 06-20-2011 01:57 PM
why kernel can not compile kvm.ko for 32-bit rhel6 litianzhi Red Hat 1 04-30-2011 11:18 AM


All times are GMT -5. The time now is 10:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration