How to configure networking for KVM

You can set up a bridge to be automatically created on system startup by replacing the eth0 config in /etc/network/interfaces with this:

auto br0
iface br0 inet dhcp
    bridge_ports eth0
    bridge_fd 0
    bridge_stp off
    bridge_maxwait 5

Then you can set up your virtual machine to use the br0 bridge.