Hello,

I have a virtual machine with a custom build kernel and rhel5 base system.
The kernel has virtio support as you can see:

root localhost ~ # uname -a
Linux localhost.localdomain 2.6.39.4 #1 SMP Tue Jan 17 10:07:30 WET 2012 i686 
i686 i386 GNU/Linux

root localhost ~ # zgrep -i virtio /proc/config.gz
CONFIG_VIRTIO_BLK=y
CONFIG_VIRTIO_NET=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_HW_RANDOM_VIRTIO=y
CONFIG_VIRTIO=y
CONFIG_VIRTIO_RING=y
# CONFIG_VIRTIO_PCI is not set
CONFIG_VIRTIO_BALLOON=y

As you can see we have block and net device builtin (not as a module).

root localhost ~ # lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB Controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] 
(rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
00:04.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
High Definition Audio Controller (rev 01)
00:05.0 SCSI storage controller: Red Hat, Inc Virtio block device
00:06.0 RAM memory: Red Hat, Inc Virtio memory balloon
00:07.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet 
Controller (rev 03)

The hardware appears ok.

root localhost ~ # cat /proc/partitions
major minor  #blocks  name
   7        0     355604 loop0

We don't see any vda disk and we should. If i use an ide disk it works fine.

root localhost ~ # ifconfig eth1
eth1: error fetching interface information: Device not found

We don't see the second network card and we should.

I've tried several host machines (centos6, mandriva) and despite using 
differente kvm versions in the host the end result is the same.

Any ideas? Does the virtio_(blk|net) only work as modules and not builtin?

Thanks,
Nuno Fernandes

_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to