KVM: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
Tgurr (talk | contribs)
No edit summary
Line 24: Line 24:
== Installation ==
== Installation ==
{{Root|# emerge kvm}}
{{Root|# emerge kvm}}
== Kernel Configuration ==
{{Box Kernel|
<pre>
Networking  support --->
  Networking options  --->
    [*] 802.1d Ethernet Bridging
Device Drivers  --->
  [*] Network device support  --->
    <*>  Universal TUN/TAP device driver support
Enable once kvm is fixed for VT-D-Support:
Bus options (PCI etc.)  --->
  [ ] Support for DMA Remapping Devices (EXPERIMENTAL)
</pre>
}}


== Network configuration ==
== Network configuration ==

Revision as of 15:43, 13 May 2009

Description

Setting up the Kernel-based Virtual Machine including network configuration and beeing able to create and run new machines as a normal user without requiring root privileges.

Packages

Template:Box Code

USE-Flags

Template:Box File

Installation

# # emerge kvm

Kernel Configuration

Template:Box Kernel

Network configuration

Template:Box File

# # /etc/init.d/
# # ln -s net.lo net.br0
# # ln -s net.lo net.tap0
# # rc-update add net.br0 default
# # rc-update add net.tap0 default


Setup user permissions

# # usermod -a -G kvm,qemu username