[CentOS-virt] Is kvm ready for prime time?

Wed Jun 9 16:38:42 UTC 2010
RedShift <redshift at pandora.be>

On 06/09/10 15:31, Lars Hecking wrote:
>   Hi all,
>
>   I've started playing with kvm on CentOS 5.5, with not much success so far.
>   In a nutshell, I have the same problem as
>    http://lists.centos.org/pipermail/centos-virt/2010-April/001854.html
>
>   I followed the RHEL5 virtualization guide to set up a bridge interface br0,
>   and then used virt-install (rather than virt-manager - I like automation) to
>   set up the vm. It hangs at some point. The command line is slightly modified
>   from the one I was using with xen. Running it with -d shows that the correct
>   hypervisor is used and the network install source is found. Otherwise, I'm
>   fresh out of ideas.
>
> # lsmod|grep kvm
> kvm_intel              86920  0
> kvm                   226208  2 ksm,kvm_intel
> # uname -a
> Linux x3250 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:08:30 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
> # virt-install -r 512 -n test -f /dev/vol0/lvol4 --nographics --os-type=linux --os-variant=rhel5.4 --accelerate -w bridge:br0 -l http://centos/centos/x86_64 -x ks=http://centos/centos/kickstart/ks.test.cfg -m 00:16:3e:30:4d:80
>
>
> Starting install...
> Retrieving file .treeinfo...                             |  417 B     00:00
> Retrieving file vmlinuz...                               | 1.9 MB     00:00
> Retrieving file initrd.img...                            | 7.7 MB     00:00
> Creating domain...                                       |    0 B     00:00
> Connected to domain test
> Escape character is ^]
>    

Try setting up vnc and use a vnc viewer to administer the guest.

IIRC you're connected to the serial console of the guest, so if your 
software isn't setup to use the serial port nothing will happen (or 
output only garbage).


Glenn