[Lguest] No network device in guest

Alexander Gromnitsky alexander.gromnitsky at gmail.com
Mon Nov 19 21:30:45 EST 2012


Sun Nov 18 2012 23:46:38 -0600, Brian Jackson wrote:
> You made the virtio drivers modules. You'd have to somehow get those 
> modules into your boot image. Or build them in.

Yup, that was it. After building them in the kernel, eth0 device appears
in the guest. Thank you!

As a side note, which of those modules are required in the host and
which are in the guest?

$ zegrep 'VIRTIO|VHOST' /proc/config.gz
CONFIG_VIRTIO_BLK=y
CONFIG_SCSI_VIRTIO=y
CONFIG_VIRTIO_NET=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_HW_RANDOM_VIRTIO=y
CONFIG_VIRTIO=y
CONFIG_VIRTIO_RING=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_BALLOON=y
CONFIG_VIRTIO_MMIO=y
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
CONFIG_VHOST_NET=m
CONFIG_TCM_VHOST=m



More information about the Lguest mailing list