Linux/KVM

From Wiki

Ubuntu 12.04 KVM Host

  • Installation
apt-get install ubuntu-virt-server qemu-kvm kvm-ipxe
apt-get install virtinst libvirt-bin virt-top        (cli)
apt-get install virt-manager                         (gui)
apt-get install bridge-utils


  • network bridge
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
    address 192.168.111.10
    netmask 255.255.255.0
    gateway 192.168.111.1
    dns-nameservers 192.168.111.1
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0
    bridge_maxwait 0


  • item


  • item





Iommu

  • grub.cfg (Ubuntu 12.04)
linux /boot/***  intel_iommu=on