Fwd: hi, may I ask some help on the paravirtualization of KVM?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 21, 2010 at 8:18 PM, Liang YANG <brinewsor@xxxxxxxxx> wrote:
> I want to set up the virtio-net for the GuestOS on KVM. Following is my steps:
>
> 1.Compile the kvm-88 and make, make install.
> 2.Compile the GuestOS(redhat) with kernel version 2.6.27.45(with
> virtio support). The required option are all selected.
>          o CONFIG_VIRTIO_PCI=y (Virtualization -> PCI driver for
> virtio devices)
>          o CONFIG_VIRTIO_BALLOON=y (Virtualization -> Virtio balloon driver)
>          o CONFIG_VIRTIO_BLK=y (Device Drivers -> Block -> Virtio block driver)
>          o CONFIG_VIRTIO_NET=y (Device Drivers -> Network device
> support -> Virtio network driver)
>          o CONFIG_VIRTIO=y (automatically selected)
>          o CONFIG_VIRTIO_RING=y (automatically selected)
> 3.Then start up the GuestOS by such command:
>          x86_64-softmmu/qemu-system-x86_64  -m 1024 /root/redhat.img
> -net nic,model=virtio -net tap,script=/etc/kvm/qemu-ifup
> 4.Result is this:
>          * The Guest OS start up.
>          * But the network not, no eth-X device found.
>          * lsmod | grep virtio get none module about virtio
>
> Then why the virtio_net not show up in the GuestOS? Is there any
> wrongs on my each steps? or lacking some settings? I have referred the
> page http://www.linux-kvm.org/page/Virtio, but not found any special
> requirement.
>
> Does anyone have some tips? Thanks in advance.
>
>
>
> --
> BestRegards.
> YangLiang
> _____________________________________________
>  Department of Computer Science .
>  School of Electronics Engineering & Computer Science .
> _____________________________________________
>



-- 
BestRegards.
YangLiang
_____________________________________________
 Department of Computer Science .
 School of Electronics Engineering & Computer Science .
_____________________________________________
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux