[CentOS] kvm and virto on Centos 5.4

2010-01-05 Thread Christopher Chan
I have not tried kvm on Centos 5.4 yet...does anyone know if it has 
support for virtio?

regards,

Christopher
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kvm and virto on Centos 5.4

2010-01-05 Thread S.Tindall
On Wed, 2010-01-06 at 10:48 +0800, Christopher Chan wrote:
 I have not tried kvm on Centos 5.4 yet...does anyone know if it has 
 support for virtio?

Yes, it does.

From two guests hosted on centos 5.4/kvm:

# uname -rpmi
2.6.9-89.0.18.ELsmp i686 athlon i386

# lspci|grep -i virtio
00:04.0 SCSI storage controller: Qumranet, Inc. Virtio block device
00:08.0 RAM memory: Qumranet, Inc. Virtio memory balloon


# uname -rpmi
2.6.18-164.9.1.el5 i686 athlon i386

# lspci|grep -i virtio
00:03.0 Ethernet controller: Qumranet, Inc. Virtio network device
00:04.0 SCSI storage controller: Qumranet, Inc. Virtio block device
00:06.0 RAM memory: Qumranet, Inc. Virtio memory balloon


Steve

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kvm and virto on Centos 5.4

2010-01-05 Thread Christopher Chan
Hello Steve,

S.Tindall wrote:
 On Wed, 2010-01-06 at 10:48 +0800, Christopher Chan wrote:
 I have not tried kvm on Centos 5.4 yet...does anyone know if it has 
 support for virtio?
 
 Yes, it does.
 

Thanks for the confirmation. Now I can feel free to stick a Windows 2008 
server on a Centos 5.4 box.

I cannot wait for samba to be able to handle AD domain logons and group 
policy and to make Windows server boxes a member in such a setup.

cheers,

Christopher
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kvm and virto on Centos 5.4

2010-01-05 Thread Mr. X


--- On Tue, 1/5/10, Christopher Chan christopher.c...@bradbury.edu.hk wrote:

 From: Christopher Chan christopher.c...@bradbury.edu.hk
 Subject: Re: [CentOS] kvm and virto on Centos 5.4
 To: centos@centos.org
 Date: Tuesday, January 5, 2010, 10:03 PM
 Hello Steve,
 
 S.Tindall wrote:
  On Wed, 2010-01-06 at 10:48 +0800, Christopher Chan
 wrote:
  I have not tried kvm on Centos 5.4 yet...does
 anyone know if it has 
  support for virtio?
  
  Yes, it does.
  
 
 Thanks for the confirmation. Now I can feel free to stick a
 Windows 2008 
 server on a Centos 5.4 box.
 

Ideally you want bridged networking for KVM, especially with a guest
like Win2k8.

KVM by itself will not install a supporting br0 device. However Xen will. 
Unless you want to spend anywhere from 20min-2hours cooking up a DIY br0 
install, install Xen no matter if you never intend to use it.

KVM is meant to be used with Virt-manager although you can run qemu-kvm in its 
own console.

Your success with KVM has a lot to do with your hardware. Intel (vmx) far and 
away has more bugs than AMD (svx) for some new guests like Win7 and Win2k8. 
Google around for kvm or Xen crashes (in Win2k8) for your intended CPU if it is 
an Intel vmx type. 

KVM is faster than qemu with kqemu-kernel and I've only come across one bug : 
the -usbdevice feature will not work in KVM but it works with qemu/kqemu.

-- 
Mark


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kvm and virto on Centos 5.4

2010-01-05 Thread Christopher Chan
Mr. X wrote:
 
 --- On Tue, 1/5/10, Christopher Chan christopher.c...@bradbury.edu.hk wrote:
 
 From: Christopher Chan christopher.c...@bradbury.edu.hk
 Subject: Re: [CentOS] kvm and virto on Centos 5.4
 To: centos@centos.org
 Date: Tuesday, January 5, 2010, 10:03 PM
 Hello Steve,

 S.Tindall wrote:
 On Wed, 2010-01-06 at 10:48 +0800, Christopher Chan
 wrote:
 I have not tried kvm on Centos 5.4 yet...does
 anyone know if it has 
 support for virtio?
 Yes, it does.

 Thanks for the confirmation. Now I can feel free to stick a
 Windows 2008 
 server on a Centos 5.4 box.

 
 Ideally you want bridged networking for KVM, especially with a guest
 like Win2k8.

Already doing bridged networking for Windows XP guests.

 
 KVM by itself will not install a supporting br0 device. However Xen will. 
 Unless you want to spend anywhere from 20min-2hours cooking up a DIY br0 
 install, install Xen no matter if you never intend to use it.

Huh? Where did you get that from? I used bridged networking with KVM on 
Ubuntu.

 
 KVM is meant to be used with Virt-manager although you can run qemu-kvm in 
 its own console.
 
 Your success with KVM has a lot to do with your hardware. Intel (vmx) far and 
 away has more bugs than AMD (svx) for some new guests like Win7 and Win2k8. 
 Google around for kvm or Xen crashes (in Win2k8) for your intended CPU if it 
 is an Intel vmx type. 

Glad I always root for AMD. I will be getting an Opteron box for this. I 
guess things have not changed much when it comes to Intel buggy chips.

 
 KVM is faster than qemu with kqemu-kernel and I've only come across one bug : 
 the -usbdevice feature will not work in KVM but it works with qemu/kqemu.
 

I have not tried USB passthrough (I think that is what you are talking 
about...) so no comment.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos