uKVM
Differences between revisions 1 and 2
⇤ ← Revision 1 as of 2016-07-13 11:06:00
Size: 79
Comment:
|
Size: 1145
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Wiki page to describe on how to use Ubuntu as a hypervisor on Power hardware. | == How to use Ubuntu as a hypervisor? == {{{#!wiki note '''Note''' Recommended 14.10 or later }}} Ubuntu is able to be used as a hypervisor, as an alternative to PowerKVM. Just install in bare metal (NV) it following the steps in Running Ubuntu non-virtualized on POWER8 After the installation you need: 1. Install the missing virtualization packages: {{{# sudo apt-get install qemu-user qemu-utils cloud-image-utils qemu-system-ppc qemu-slof libvirt-bin numactl}}} 1. Add the users that would be able to run virtual machines into the kvm group: {{{# sudo usermod -a -G kvm <user>}}} 1. Disable the SMT: {{{# sudo ppc64_cpu --smt=off}}} 1. Enable KVM module in the kernel (Add a line "kvm_hv" in /etc/modules in order to automatically load it after a reboot): {{{# sudo modprobe kvm_hv}}} 1. If you hit "failed to parse default acl file `/etc/qemu/bridge.conf", you need to edit (or create) file /etc/qemu/bridge.conf and add: {{{allow br0}}} 1. If you hit "failed to create tun device: Operation not permitted", you need to set the setuid attribute: {{{# chmod u+s /usr/lib/qemu/qemu-bridge-helper}}} |
How to use Ubuntu as a hypervisor?
Note Recommended 14.10 or later
Ubuntu is able to be used as a hypervisor, as an alternative to PowerKVM. Just install in bare metal (NV) it following the steps in Running Ubuntu non-virtualized on POWER8 After the installation you need:
- Install the missing virtualization packages:
# sudo apt-get install qemu-user qemu-utils cloud-image-utils qemu-system-ppc qemu-slof libvirt-bin numactl
- Add the users that would be able to run virtual machines into the kvm group:
# sudo usermod -a -G kvm <user>
- Disable the SMT:
# sudo ppc64_cpu --smt=off
- Enable KVM module in the kernel (Add a line "kvm_hv" in /etc/modules in order to automatically load it after a reboot):
# sudo modprobe kvm_hv
- If you hit "failed to parse default acl file `/etc/qemu/bridge.conf", you need to edit (or create) file /etc/qemu/bridge.conf and add:
allow br0
- If you hit "failed to create tun device: Operation not permitted", you need to set the setuid attribute:
# chmod u+s /usr/lib/qemu/qemu-bridge-helper
ppc64el/uKVM (last edited 2018-12-20 16:56:31 by lagarcia)