xen 4 with pvops kernel tun problem solved

January 29, 2010

in linux

Having trouble getting an hvm virtual machine start with networking when using the latest pvops kernel? Are you compiling your own pvops kernel? Are you getting errors like “virtual networking not enabled” in your qemu logs? Me too… I figured it out. Easy as pie. When compiling your pvops kernel, ensure that your config file includes:

CONFIG_TUN=y

or

CONFIG_TUN=m

My hvm machines now have networking! Wheeee!!! Note you can keep the default configs for a lot of stuff. Fixes having to do with changing the bridge name are irrelevant, as the latest xen code accomodates older configs.

cheers!

Leave a Comment

Previous post:

Next post: