[CentOS-virt] KVM: where are the directions?

Thu Nov 11 04:31:04 UTC 2010
Mark Pryor <tlviewer at yahoo.com>


--- On Wed, 11/10/10, jayeola at gmail.com <jayeola at gmail.com> wrote:

> From: jayeola at gmail.com <jayeola at gmail.com>
> Subject: Re: [CentOS-virt] KVM: where are the directions?
> To: "Discussion about the virtualization on CentOS" <centos-virt at centos.org>
> Date: Wednesday, November 10, 2010, 7:15 PM
> rpm -ql kvm
> rpm -qa | grep kvm
> 

to continue this:
------------- verify an amd64 install of kvm --------------
$ rpm -qa | grep kvm
etherboot-zroms-kvm-5.4.4-13.el5.centos
kvm-83-164.el5_5.21
kmod-kvm-83-164.el5_5.21

$ sudo lsmod | grep kvm
kvm_amd                69416  0
kvm                   226336  2 ksm,kvm_amd

yum install bridge-utils tunctl
------------- snip ---------

kvm is basically qemu. 
The kvm launcher is (by default) not in your path:
/usr/libexec/qemu-kvm

request help on qemu-kvm and you will see almost the same thing which is in qemu.

Trying to learn kvm via libvirt is over-kill - stick with the commandline.

To launch a live CD do
#/usr/libexec/qemu-kvm -cdrom /path-to/pup-431.iso  -boot d -m 384 
-net nic,model=rtl8139 -net tap -localtime -usb &

this works over ssh too if you forward X.

-- 
Mark