Hi All, I am trying to see whether my kernel has KVM support or not. When i execute #egrep -c '(vmx|svm)' /proc/cpuinfo , output shows '0'' which means my custom kernel does not have capability of KVM. How do i enable or support KVM in my new kernel. Is it possible or not? Please someone throw light on this. -- Regards, S. Sengottuvelan.
you can turn it on in BIOS, if your CPU supports virtualization. Look for VT extention or Virtualization under CPU section of your BIOS. Rajat On Tue, Dec 21, 2010 at 12:19 PM, Sengottuvelan S <sengottuvelan.s@gmail.com
wrote:
Hi All,
I am trying to see whether my kernel has KVM support or not. When i execute
#egrep -c '(vmx|svm)' /proc/cpuinfo , output shows '0'' which means my custom kernel does not have capability of KVM.
How do i enable or support KVM in my new kernel. Is it possible or not?
Please someone throw light on this.
-- Regards, S. Sengottuvelan.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Tue, Dec 21, 2010 at 11:22 AM, Rajat Sharma <fs.rajat@gmail.com> wrote:
you can turn it on in BIOS, if your CPU supports virtualization. Look for VT extention or Virtualization under CPU section of your BIOS.
Rajat
If the CPU doesn't have vmx or svm flags to begin with, then it most likely does not support hardware virtualization.
On Tue, Dec 21, 2010 at 12:19 PM, Sengottuvelan S <sengottuvelan.s@gmail.com> wrote:
Hi All,
I am trying to see whether my kernel has KVM support or not. When i execute #egrep -c '(vmx|svm)' /proc/cpuinfo , output shows '0'' which means my custom kernel does not have capability of KVM.
How do i enable or support KVM in my new kernel. Is it possible or not?
Please someone throw light on this.
-- Regards, S. Sengottuvelan.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Tue, Dec 21, 2010 at 8:49 AM, Sengottuvelan S <sengottuvelan.s@gmail.com> wrote:
Hi All,
I am trying to see whether my kernel has KVM support or not. When i execute #egrep -c '(vmx|svm)' /proc/cpuinfo , output shows '0'' which means my custom kernel does not have capability of KVM.
How do i enable or support KVM in my new kernel. Is it possible or not?
Please someone throw light on this.
This most likely means your processor doesn't support hardware-assisted virtualization altogether. What's your exact processor model?
-- Regards, S. Sengottuvelan.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
How do i enable or support KVM in my new kernel. Is it possible or not?
I am not an expert here but this might be helpful? http://www.linux-kvm.org/page/FAQ#What_do_I_need_to_use_KVM.3F Thanks, Hiren
On Tue, Dec 21, 2010 at 6:49 AM, Sengottuvelan S <sengottuvelan.s@gmail.com> wrote:
Hi All,
I am trying to see whether my kernel has KVM support or not. When i execute #egrep -c '(vmx|svm)' /proc/cpuinfo , output shows '0'' which means my custom kernel does not have capability of KVM.
It means the hardware does not have virtualization support.
How do i enable or support KVM in my new kernel. Is it possible or not?
Please someone throw light on this.
-- Regards, S. Sengottuvelan.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
sadly... yes! On Tue, Dec 21, 2010 at 4:08 PM, Prasad Joshi <prasadjoshi124@gmail.com>wrote:
On Tue, Dec 21, 2010 at 6:49 AM, Sengottuvelan S <sengottuvelan.s@gmail.com> wrote:
Hi All,
I am trying to see whether my kernel has KVM support or not. When i execute #egrep -c '(vmx|svm)' /proc/cpuinfo , output shows '0'' which means my custom kernel does not have capability of KVM.
It means the hardware does not have virtualization support.
How do i enable or support KVM in my new kernel. Is it possible or not?
Please someone throw light on this.
-- Regards, S. Sengottuvelan.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi, 2010/12/21 Sengottuvelan S <sengottuvelan.s@gmail.com>:
Hi All,
I am trying to see whether my kernel has KVM support or not. When i execute #egrep -c '(vmx|svm)' /proc/cpuinfo , output shows '0'' which means my custom kernel does not have capability of KVM.
How do i enable or support KVM in my new kernel. Is it possible or not?
/proc/cpuinfo gives you information about your CPU and not about the modules your kernel support. If you don't have the right hardware, afaik you have to use a different hypervisor. Regards, Matthias -- motzblog.wordpress.com
Hi All, I have below architecture. I assume it does not support KVM. Please point me somone what is exactly needed to support KVM support in my machine? # egrep -c ' lm ' /proc/cpuinfo 2 # uname -m x86_64 # uname -a Linux ubuntu 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 05:14:15 UTC 2010 x86_64 GNU/Linux and # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz stepping : 6 cpu MHz : 1600.000 cache size : 3072 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant _tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm bogomips : 5054.10 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz stepping : 6 cpu MHz : 1600.000 cache size : 3072 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant _tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm bogomips : 5054.00 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: On Tue, Dec 21, 2010 at 5:57 AM, matthias <mensch0815@googlemail.com> wrote:
Hi,
2010/12/21 Sengottuvelan S <sengottuvelan.s@gmail.com>:
Hi All,
I am trying to see whether my kernel has KVM support or not. When i execute #egrep -c '(vmx|svm)' /proc/cpuinfo , output shows '0'' which means my custom kernel does not have capability of KVM.
How do i enable or support KVM in my new kernel. Is it possible or not?
/proc/cpuinfo gives you information about your CPU and not about the modules your kernel support. If you don't have the right hardware, afaik you have to use a different hypervisor.
Regards, Matthias -- motzblog.wordpress.com
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards, S. Sengottuvelan.
Looking at the datasheet for Intel(R) Core(TM)2 Duo CPU E7200, http://ark.intel.com/Product.aspx?id=35348 VTx is disabled in the core itself, so not sure whether you will have any bios options to enable that. But as John rightly pointed out, you should be able to run virtual machine (Virtualbox, qemu..), but with performance penalty. Regards, Subbu
On Tue, 21 Dec 2010, Sengottuvelan S wrote:
Hi All, I have below architecture. I assume it does not support KVM. Please point me somone what is exactly needed to support KVM support in my machine? # egrep -c ' lm ' /proc/cpuinfo 2 # uname -m x86_64 # uname -a Linux ubuntu 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 05:14:15 UTC 2010 x86_64 GNU/Linux and # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz
why not just go straight to the source and check: http://ark.intel.com/VTList.aspx that list clearly seems to suggest that the core 2 duo does *not* have virt support. rday -- ======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
On Wed, Dec 22, 2010 at 1:17 PM, Robert P. J. Day <rpjday@crashcourse.ca>wrote:
On Tue, 21 Dec 2010, Sengottuvelan S wrote:
Hi All,
I have below architecture. I assume it does not support KVM. Please point me somone what is exactly needed to support KVM support in my machine?
# egrep -c ' lm ' /proc/cpuinfo 2 # uname -m x86_64 # uname -a Linux ubuntu 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 05:14:15 UTC 2010 x86_64 GNU/Linux and
# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz
why not just go straight to the source and check:
http://ark.intel.com/VTList.aspx
that list clearly seems to suggest that the core 2 duo does *not* have virt support.
That is correct Sengottuvelan S I checked on that link your machine doest not support vt so the hardware does not support Virtualization but that just means that a hypervisor which needs hardware support i.e. vmx instruction set will not run in your case KVM. But you can use Xen,QEMU,Virtualbox or VMware also. If you have some specific work or project then that means you need to get another machine. In otherwise case use something other than KVM. Xen might be a bit difficult for you to setup on Ubuntu but if you use CentOS things should work perfectly. CentOS is RHEL but with proprietary softwares and logo of Red Hat removed. I hope I answered what you wanted to know. The kernel has nothing to do with hardware support.(Correct me if I am wrong) It is the hypervisor which needs support from your cpu in terms of instruction set. On the same hardware that you have you can give a shot to xen (again if you use CentOS it has a GUI and Xen is shipped on its DVD image precompiled).That way you can do give a try to things that you need. On some places on internet you may get vmware images of Linux preinstalled you can download them and vmware player is freely available from the official site. That way you can run your virtual machine. As far as this hardware is concerned currently you will not be able to run KVM on it as you /proc/cpuinfo output also says clearly see the following On Wed, Dec 22, 2010 at 7:13 AM, Sengottuvelan S <sengottuvelan.s@gmail.com>wrote:
model name : Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant _tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm
here I do not see vmx flag,lm flag is there in above output which means it supports 64 bit,but due to vmx absent you can not run a hypervisor which needs vmx support to run. Presence of vmx instruction set means a hypervisor which exclusively depends upon this instruction set will be able to run.In your case KVM depends. The options of BIOS will not help as Roberts Link points it. "Your CPU E7200 does not support vt." This means a hypervisor which needs vmx instruction set to run will not be able to run,but there are other hypervisors or in laymans term virtualization solution which would still run irrespective of hardware supporting vt. Kernel has not any thing to do to support KVM. When your hypervisor is running then it passes on specific instruction set to the CPU. In old days when vmx support was not available and Virtualization was just evolving, people used to run Virtual machines ( I am aware of someone doing such stuff a few decades back) using the same instruction set which is found on normal desktops. So KVM will not run currently (not because of kernel,but because of hardware support) on your machine. I hope the list answered your question. -- http://mightydreams.blogspot.com
Thanks All. I agreed.Currently my HW does not support it. I have ordered new one. On Thu, Dec 23, 2010 at 9:19 PM, Tapas Mishra <mightydreams@gmail.com>wrote:
On Wed, Dec 22, 2010 at 1:17 PM, Robert P. J. Day <rpjday@crashcourse.ca>wrote:
On Tue, 21 Dec 2010, Sengottuvelan S wrote:
Hi All,
I have below architecture. I assume it does not support KVM. Please point me somone what is exactly needed to support KVM support in my machine?
# egrep -c ' lm ' /proc/cpuinfo 2 # uname -m x86_64 # uname -a Linux ubuntu 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 05:14:15 UTC 2010 x86_64 GNU/Linux and
# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz
why not just go straight to the source and check:
http://ark.intel.com/VTList.aspx
that list clearly seems to suggest that the core 2 duo does *not* have virt support.
That is correct Sengottuvelan S I checked on that link your machine doest not support vt so the hardware does not support Virtualization but that just means that a hypervisor which needs hardware support i.e. vmx instruction set will not run in your case KVM. But you can use Xen,QEMU,Virtualbox or VMware also. If you have some specific work or project then that means you need to get another machine. In otherwise case use something other than KVM. Xen might be a bit difficult for you to setup on Ubuntu but if you use CentOS things should work perfectly. CentOS is RHEL but with proprietary softwares and logo of Red Hat removed. I hope I answered what you wanted to know. The kernel has nothing to do with hardware support.(Correct me if I am wrong) It is the hypervisor which needs support from your cpu in terms of instruction set.
On the same hardware that you have you can give a shot to xen (again if you use CentOS it has a GUI and Xen is shipped on its DVD image precompiled).That way you can do give a try to things that you need. On some places on internet you may get vmware images of Linux preinstalled you can download them and vmware player is freely available from the official site. That way you can run your virtual machine. As far as this hardware is concerned currently you will not be able to run KVM on it as you /proc/cpuinfo output also says clearly see the following
On Wed, Dec 22, 2010 at 7:13 AM, Sengottuvelan S < sengottuvelan.s@gmail.com> wrote:
model name : Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant _tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm
here I do not see vmx flag,lm flag is there in above output which means it supports 64 bit,but due to vmx absent you can not run a hypervisor which needs vmx support to run. Presence of vmx instruction set means a hypervisor which exclusively depends upon this instruction set will be able to run.In your case KVM depends. The options of BIOS will not help as Roberts Link points it.
"Your CPU E7200 does not support vt." This means a hypervisor which needs vmx instruction set to run will not be able to run,but there are other hypervisors or in laymans term virtualization solution which would still run irrespective of hardware supporting vt.
Kernel has not any thing to do to support KVM. When your hypervisor is running then it passes on specific instruction set to the CPU. In old days when vmx support was not available and Virtualization was just evolving, people used to run Virtual machines ( I am aware of someone doing such stuff a few decades back) using the same instruction set which is found on normal desktops.
So KVM will not run currently (not because of kernel,but because of hardware support) on your machine. I hope the list answered your question. -- http://mightydreams.blogspot.com
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards, S. Sengottuvelan.
On Tue, Dec 21, 2010 at 1:49 AM, Sengottuvelan S <sengottuvelan.s@gmail.com> wrote:
Hi All,
I am trying to see whether my kernel has KVM support or not. When i execute #egrep -c '(vmx|svm)' /proc/cpuinfo , output shows '0'' which means my custom kernel does not have capability of KVM.
I think you are misunderstanding the flags in /proc/cpuinfo. I believe they represent which features the processor supports, not what features the kernel supports. Like Rajat said you may need to enable the feature in your BIOS, but otherwise you may want to check the datasheet for the processor. feel free to paste the output of: cat /proc/cpuinfo If you do not have this feature you will have to use something such as VirtualBox, of course there will be a performance penalty. -- John
participants (10)
-
hiren panchasara -
John Mahoney -
matthias -
Mohammed Gamal -
Ponmuthu Subramaniam Nandan -
Prasad Joshi -
Rajat Sharma -
Robert P. J. Day -
Sengottuvelan S -
Tapas Mishra