Hi folks,
I've been trying to do some KVM virtualization on a C5 host, and to my surprise, there seems to be no kvm package in any of the repos. Yum install kvm says:
No package kvm available. Nothing to do
This machine is a CentOS release 5.10 (Final) with the 2.6.18-371.11.1.el5 kernel.
Also, the docs related to C5 on
http://wiki.centos.org/HowTos/KVM
seem to be terribly outdated. What am I missing here?
TIA, :-) Marko
2014-08-07 22:49 GMT+03:00 Marko Vojinovic vvmarko@gmail.com:
Hi folks,
I've been trying to do some KVM virtualization on a C5 host, and to my surprise, there seems to be no kvm package in any of the repos. Yum install kvm says:
No package kvm available. Nothing to do
This machine is a CentOS release 5.10 (Final) with the 2.6.18-371.11.1.el5 kernel.
Also, the docs related to C5 on
http://wiki.centos.org/HowTos/KVM
seem to be terribly outdated. What am I missing here?
read docs at https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/pdf...
Why you are using Centos 5 ? version 6 and 7 are already released?
-- Eero
On Thu, 7 Aug 2014 22:54:40 +0300 Eero Volotinen eero.volotinen@iki.fi wrote:
2014-08-07 22:49 GMT+03:00 Marko Vojinovic vvmarko@gmail.com:
I've been trying to do some KVM virtualization on a C5 host, and to my surprise, there seems to be no kvm package in any of the repos.
read docs at https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/pdf...
I did read those. On page 31 the instructions say that kvm can be installed via yum by saying "yum install kvm". That's where I got stuck.
Why you are using Centos 5 ? version 6 and 7 are already released?
This host is a remote machine, and I will not have physical access to it until next month. While I do plan to scrap it and install C7, I don't feel like attempting to do that remotely. :-)
As for guests that should run on that host, I figured that I could create and run them even now, and just back them up when I get to upgrading the host. I wouldn't like to waste a whole month of guests not running, just waiting for the host upgrade.
So, is there any possibility to have kvm on C5?
Best, :-) Marko
On Thu, Aug 07, 2014 at 09:21:31PM +0100, Marko Vojinovic wrote:
On Thu, 7 Aug 2014 22:54:40 +0300 Eero Volotinen eero.volotinen@iki.fi wrote:
2014-08-07 22:49 GMT+03:00 Marko Vojinovic vvmarko@gmail.com:
I've been trying to do some KVM virtualization on a C5 host, and to my surprise, there seems to be no kvm package in any of the repos.
read docs at https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/pdf...
I did read those. On page 31 the instructions say that kvm can be installed via yum by saying "yum install kvm". That's where I got stuck.
At the bottom of page 15 it specifies that you must be running a 64-bit OS on (obviously) 64-bit hardware. are you?
<snip>
On Thu, 7 Aug 2014 16:27:50 -0400 Fred Smith fredex@fcshome.stoneham.ma.us wrote:
On Thu, Aug 07, 2014 at 09:21:31PM +0100, Marko Vojinovic wrote:
On Thu, 7 Aug 2014 22:54:40 +0300 Eero Volotinen eero.volotinen@iki.fi wrote:
2014-08-07 22:49 GMT+03:00 Marko Vojinovic vvmarko@gmail.com:
I've been trying to do some KVM virtualization on a C5 host, and to my surprise, there seems to be no kvm package in any of the repos.
read docs at https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/pdf...
I did read those. On page 31 the instructions say that kvm can be installed via yum by saying "yum install kvm". That's where I got stuck.
At the bottom of page 15 it specifies that you must be running a 64-bit OS on (obviously) 64-bit hardware. are you?
Oooh, no. The hardware certainly is 64-bit, and does have the vmx flag. But it turns out that the C5 installed on it is 32-bit... Damn old thing, I completely missed to check for OS arch.
I guess that explains it, then. Sorry for the noise. :-(
Thanks, :-) Marko
2014-08-07 23:21 GMT+03:00 Marko Vojinovic vvmarko@gmail.com:
On Thu, 7 Aug 2014 22:54:40 +0300 Eero Volotinen eero.volotinen@iki.fi wrote:
2014-08-07 22:49 GMT+03:00 Marko Vojinovic vvmarko@gmail.com:
I've been trying to do some KVM virtualization on a C5 host, and to my surprise, there seems to be no kvm package in any of the repos.
read docs at
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/pdf...
I did read those. On page 31 the instructions say that kvm can be installed via yum by saying "yum install kvm". That's where I got stuck.
Why you are using Centos 5 ? version 6 and 7 are already released?
This host is a remote machine, and I will not have physical access to it until next month. While I do plan to scrap it and install C7, I don't feel like attempting to do that remotely. :-)
As for guests that should run on that host, I figured that I could create and run them even now, and just back them up when I get to upgrading the host. I wouldn't like to waste a whole month of guests not running, just waiting for the host upgrade.
So, is there any possibility to have kvm on C5?
yes, just do 'yum install kvm' and remember that x86_64 cpu with hardware virtualization is needed ..
-- Eero
On Thu, 7 Aug 2014 23:39:01 +0300 Eero Volotinen eero.volotinen@iki.fi wrote:
2014-08-07 23:21 GMT+03:00 Marko Vojinovic vvmarko@gmail.com:
On Thu, 7 Aug 2014 22:54:40 +0300 Eero Volotinen eero.volotinen@iki.fi wrote:
2014-08-07 22:49 GMT+03:00 Marko Vojinovic vvmarko@gmail.com:
So, is there any possibility to have kvm on C5?
yes, just do 'yum install kvm' and remember that x86_64 cpu with hardware virtualization is needed ..
... And in addition to that, I need to have a 64-bit OS running on it, which I apparently don't. Just my luck. :-(
Best, :-) Marko
On Thu, Aug 7, 2014 at 4:36 PM, Marko Vojinovic vvmarko@gmail.com wrote:
On Thu, 7 Aug 2014 22:54:40 +0300
Eero Volotinen eero.volotinen@iki.fi wrote:
2014-08-07 22:49 GMT+03:00 Marko Vojinovic vvmarko@gmail.com:
So, is there any possibility to have kvm on C5?
yes, just do 'yum install kvm' and remember that x86_64 cpu with hardware virtualization is needed ..
... And in addition to that, I need to have a 64-bit OS running on it, which I apparently don't. Just my luck. :-(
Technically you don't need to have a 64-bit host OS to virtualize a 64-bit guest but that may be the way kvm is built. I know I used to run 64-bit linux versions under vmware player on a laptop running 32-bit windows XP. Maybe virtualbox would work...
On Thu, August 7, 2014 5:00 pm, Les Mikesell wrote:
On Thu, Aug 7, 2014 at 4:36 PM, Marko Vojinovic vvmarko@gmail.com wrote:
On Thu, 7 Aug 2014 22:54:40 +0300
Eero Volotinen eero.volotinen@iki.fi wrote:
2014-08-07 22:49 GMT+03:00 Marko Vojinovic vvmarko@gmail.com:
So, is there any possibility to have kvm on C5?
yes, just do 'yum install kvm' and remember that x86_64 cpu with hardware virtualization is needed ..
... And in addition to that, I need to have a 64-bit OS running on it, which I apparently don't. Just my luck. :-(
Technically you don't need to have a 64-bit host OS to virtualize a 64-bit guest but that may be the way kvm is built. I know I used to run 64-bit linux versions under vmware player on a laptop running 32-bit windows XP. Maybe virtualbox would work...
To the best of my knowledge, vmware emulates generic CPU, therefore, guest can have different architecture from host. Emulates meaning, in particular, what is CPU register for guest is actually sitting in RAM. Therefore, regisetr-to-register operation for vmware guest ias asctually physical RAM to physical RAM operation which is a couple of orders on magnitude slower (well, was long ago, and I'm sure still is). And the same goes about other kinds of CPU command execution of guest OS. This, however is not the case with KVM, portions of guest machine code is run directly in physical CPU, in different privilege ring, of course. (more knowledgeable people will add/correct here).
Thanks. Valeri
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++
On Thu, Aug 7, 2014 at 5:13 PM, Valeri Galtsev galtsev@kicp.uchicago.edu wrote:
... And in addition to that, I need to have a 64-bit OS running on it, which I apparently don't. Just my luck. :-(
Technically you don't need to have a 64-bit host OS to virtualize a 64-bit guest but that may be the way kvm is built. I know I used to run 64-bit linux versions under vmware player on a laptop running 32-bit windows XP. Maybe virtualbox would work...
To the best of my knowledge, vmware emulates generic CPU, therefore, guest can have different architecture from host. Emulates meaning, in particular, what is CPU register for guest is actually sitting in RAM. Therefore, regisetr-to-register operation for vmware guest ias asctually physical RAM to physical RAM operation which is a couple of orders on magnitude slower (well, was long ago, and I'm sure still is).
I don't think that makes any sense in the context of CPU's with hardware virtualization capability - which is necessary for 64-bit guests anyway. And it doesn't match the speeds I've observed for vmware vs kvm guests which seem about the same. It might be true when running 32 bit guests on hosts where the CPU does not have hardware virtualization support.
On Thu, August 7, 2014 5:30 pm, Les Mikesell wrote:
On Thu, Aug 7, 2014 at 5:13 PM, Valeri Galtsev galtsev@kicp.uchicago.edu wrote:
... And in addition to that, I need to have a 64-bit OS running on it, which I apparently don't. Just my luck. :-(
Technically you don't need to have a 64-bit host OS to virtualize a 64-bit guest but that may be the way kvm is built. I know I used to run 64-bit linux versions under vmware player on a laptop running 32-bit windows XP. Maybe virtualbox would work...
To the best of my knowledge, vmware emulates generic CPU, therefore, guest can have different architecture from host. Emulates meaning, in particular, what is CPU register for guest is actually sitting in RAM. Therefore, regisetr-to-register operation for vmware guest ias asctually physical RAM to physical RAM operation which is a couple of orders on magnitude slower (well, was long ago, and I'm sure still is).
I don't think that makes any sense in the context of CPU's with hardware virtualization capability - which is necessary for 64-bit guests anyway. And it doesn't match the speeds I've observed for vmware vs kvm guests which seem about the same. It might be true when running 32 bit guests on hosts where the CPU does not have hardware virtualization support.
Yes, I should have mentioned that. Vmware changed from emulating CPU to hardware virtualization some time ago. I was referring to older vmware virtualization for which it is possible to have different host and guest architecture. The last was mentioned in post I answered to... Sorry I introduced confusion.
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++