Linux/KVM: Difference between revisions
Appearance
< Linux
No edit summary |
|||
| Line 3: | Line 3: | ||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
kvm-ok (cpu ok?) | |||
apt-get install ubuntu-virt-server qemu-kvm kvm-ipxe | apt-get install ubuntu-virt-server qemu-kvm kvm-ipxe | ||
apt-get install virtinst libvirt-bin virt-top (cli) | apt-get install virtinst libvirt-bin virt-top (cli) | ||
| Line 42: | Line 43: | ||
* | * vm guest config | ||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
virsh --connect qemu:///system | |||
: help | |||
: list --all | |||
: define /etc/libvirt/qemu/vm-???.xml | |||
: start vm-??? | |||
: shutdown vm-??? | |||
: destroy vm-??? | |||
: quit | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
Revision as of 18:13, 10 November 2012
Ubuntu 12.04 KVM Host
- Installation
kvm-ok (cpu ok?) 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)
- network bridge
- installation:
apt-get install bridge-utils
- /etc/network/interfaces
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
- vm guest config
virsh --connect qemu:///system : help : list --all : define /etc/libvirt/qemu/vm-???.xml : start vm-??? : shutdown vm-??? : destroy vm-??? : quit
- item
Iommu
- grub.cfg (Ubuntu 12.04)
linux /boot/*** intel_iommu=on