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

Thu Nov 11 17:02:16 UTC 2010
MargoAndTodd <margoandtodd at gmail.com>

On 11/10/2010 08:31 PM, Mark Pryor wrote:
>
>
> --- 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.
>

Thank you!

Fedora 13 Live CD:
qemu-kvm -cdrom ./Fedora-13-i686-Live-XFCE.iso  -boot d -m 384 -net 
nic,model=rtl8139  -localtime -usb

Froze up at "automatic boot in 10 seconds". This is probably because my
CentOS 5.5 is 32 bit and I am running a really old version of qemu-kvm.


BartPE (Windows XP Personal Edition on a CDROM):
qemu-kvm -cdrom ./KAS7.Bart.iso  -boot d -m 384 -net nic,model=rtl8139 
-localtime -usb -smp 2

Ran very well.  Even found my rtl8139.

I have to work on the TAP device thing.

-T