LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   centos KVM (https://www.linuxquestions.org/questions/linux-newbie-8/centos-kvm-923921/)

malak33 01-15-2012 02:03 PM

centos KVM
 
hi there guys,
having some trouble today. I'm trying to start trying to set up a virtual machine. When i start virtual machine manager this error comes up. Any help would be awesome guys

Error polling connection 'qemu:///system': internal error Cannot find suitable emulator for x86_64

T3RM1NVT0R 01-15-2012 02:10 PM

@ Reply
 
Hi malak33,

Questions for you:

1. Is this the first time you are trying to setup KVM?
2. Architecture of your machine?

If you have got a 32 bit machine then I doubt KVM will going to work on it. Last time I checked KVM only works on 64 bit machines.

malak33 01-15-2012 02:13 PM

this is my first time setting it up, also i have a 64 bit processor

T3RM1NVT0R 01-15-2012 02:17 PM

@ Reply
 
Alright. Refer to the following link and that might help: http://www.cyberciti.biz/faq/centos-...tion-tutorial/

malak33 01-15-2012 03:28 PM

so i reinstalled centos 6.0 this time i didn't run yum update. i should take this time to be more specific i installed centos this time and last as a virtual host so kvm is already installed
i go to set up the kvm now and it works yay
until the end this error gets generated
Error creating virtual network: internal error Network 192.168.100.1/255.255.255.0 is already in use by interface virbr1

now i have not set this up before also the book im working through tells me to do these commands before hand

lsmod | grep kvm
i do not get any output from this, i looked at the /proc/cpuinfo file as well andi could not find the following flags "svm" or "vmx"

i do not know what that means??

i also have used the command uname -p
and the output for that is x86_64

please help me out guys thanks

celthunder 01-15-2012 03:58 PM

the lsmod shows that there is not a kvm module loaded (not sure if that's ok or not never set it up) The network in use sounds like exactly that run ifconfig =a and see if theres a device already using that network/ip. As for the last bit that's good that it is 64 bit.

T3RM1NVT0R 01-15-2012 04:02 PM

@ Reply
 
Please type the ouput of the following command:

Code:

ifconfig

T3RM1NVT0R 01-15-2012 04:24 PM

@ Reply
 
Another thing that I would like to know is that how you have setup KVM. Did you refer the link I mentioned in my previous post? Did you install all the packages that are mentioned in that link?

malak33 01-15-2012 04:26 PM

when i type the ifconfig command it shows the eth0 lo and virt1 and virt2 network
when i click close to make the virtual network the gui box doesn't close then the second time i hit the finish button it pops that error up
after reading this book a little bit more, i think that kvm is not going to work on this computer, the cpu doesn't support it. i can run virtual box i think. however i want to mess with KVM because i never used it before.
does anyone reccomend any computers that will run KVM?

malak33 01-15-2012 04:28 PM

when i type groupinstall and groupinfo kvm it comes back saying that it does not know of that package "kvm"

T3RM1NVT0R 01-15-2012 04:31 PM

@ Reply
 
I will again emphasize on reading the link. The link clearly stats that you need Intel VT or AMD-V hardware. You need to check if your system has got that or not. If it has then there should be some setting in BIOS to enable it if not enabled by default.

Paste the output of:

Code:

cat /proc/cpuinfo

Elv13 01-15-2012 04:36 PM

run this command:
Code:

grep -E '(vmx|svm)' /proc/cpuinfo >/dev/null && echo "KVM will work for me" || echo "I need to buy a new computer"

malak33 01-15-2012 04:57 PM

lol..
i need a new computer
any reccomendations??

malak33 01-16-2012 01:46 PM

thanks for your help guys, I'm a linux noob and trying my best to change that.
I now see what the commands mean, my old computer doesn't support virtualization at the cpu level.
which is what KVM takes advantage of.
I was trying to use my old computer to handle this, but i cannot luckily i have a newer quad-core desktop.

After researching for a little bit i found that my cpu in my newer comp comes with virtualization.
Sry i was trying to avoid using this computer, because it is my windows machine that i use to store all my movies, etc...
Just more work really than i was trying to get into.
also i do not want to dual boot, i don't like to.
Anyway thank you guys for helping me understand what is going on and sry if i seem daft sometimes.loll

celthunder 01-16-2012 05:43 PM

we all start somewhere. Anyway hope you find your desktop works if you choose to use that as for recommended hardware we can't really recommend anything as it depends on your usage.


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