Difference between pages "KVM" and "Funtoo Git Repositories"

From Funtoo
(Difference between pages)
Jump to: navigation, search
(User-space tools)
 
m (developper to developer)
 
Line 1: Line 1:
 +
As of  winter/spring 2012, Funtoo.org hosts its own Git repositories but still uses GitHub.com as a mirror.
  
== Introduction ==
+
= Where is the Funtoo Git web portal? =
  
KVM is a hardware-accelerated full-machine hypervisor and virtualization solution included as part of kernel 2.6.20 and later. It allows you to create and start hardware-accelerated virtual machines under Linux using the QEMU tools.
+
http://git.funtoo.org/
  
== Kernel Setup ==
+
= How can I clone one of the repositories? =
  
To enable KVM, the following kernel config parameters should be enabled (this is based on a 3.x kernel):
+
Please use our mirror on GitHub.com. Just enter https://github.com/funtoo in your browser, then click on the repository of your choice (e.g. flora) and use the direction shown on the web page to get a read-only clone of it.
  
Under <tt>Processor type and features</tt>, enable <tt>Linux guest support</tt>, and enable the following options:
 
  
{{kernelop|title=Processor type and features,Linux guest support|desc=
+
= I am a developer how can get a full access? =
--- Linux guest support
+
[*]  Enable paravirtualization code
+
[ ]    paravirt-ops debugging (NEW)
+
[*]    Paravirtualization layer for spinlocks
+
[ ]    Xen guest support (NEW)
+
[*]  KVM Guest support (including kvmclock) (NEW)
+
[ ]    Enable debug information for KVM Guests in debugfs (NEW)
+
[ ]  Paravirtual steal time accounting (NEW)
+
}}
+
  
 +
Simply:
  
Under the <tt>Virtualization</tt> category from the main kernel config menu, enable <tt>Kernel-based Virtual Machine (KVM) support</tt>, and enable at least one type of KVM, either for Intel or AMD processors. It is also recommended to enable <tt>Host kernel acceleration for virtio net</tt>.
+
# Submit your SSH public key to the core team
 +
# Enter:
  
{{kernelop|title=Virtualization|desc=
+
<pre>
--- Virtualization
+
$ git clone repos@git.funtoo.org:the-repository-of-your-choice
<M>  Kernel-based Virtual Machine (KVM) support
+
</pre>
<M>     KVM for Intel processors support
+
<M>    KVM for AMD processors support
+
[*]    KVM legacy PCI device assignment support
+
<M>  Host kernel accelerator for virtio net
+
}}
+
  
 
+
E.g.
You can use modules or build these parts directly into the kernel. Build your new kernel and modules, and reboot.
+
 
+
== User-space tools ==
+
 
+
If you are using QEMU on your desktop, add the following USE flag to <tt>/etc/portage/make.conf</tt>:
+
  
 
<pre>
 
<pre>
USE="$USE usbredir"
+
$ git clone repos@git.funtoo.org:flora
 
</pre>
 
</pre>
This will enable good mouse support for QEMU on your desktop.
 
 
Now, emerge qemu:
 
 
<console>
 
# ##i## emerge qemu
 
</console>
 
 
==Initial Setup==
 
 
Prior to using KVM, modprobe the appropriate accelerated driver for Intel or AMD:
 
 
<console>
 
# ##i##modprobe kvm_intel
 
</console>
 
 
== Next Steps ==
 
 
{{fancyimportant|Before using KVM, be sure that your user account is in the <tt>kvm</tt> group. You will need to use a command such as <tt>vigr</tt> as root to do this, and then log out and log back in for this to take effect.}}
 
 
For information on how to use KVM with various operating systems, see:
 
  
* [[Windows 7 Virtualization with KVM]]
 
* [[Linux on KVM]]
 
  
[[Category:Virtualization]]
+
[[Category:QA]]
[[Category:KVM]]
+

Latest revision as of 23:16, 14 July 2012

As of winter/spring 2012, Funtoo.org hosts its own Git repositories but still uses GitHub.com as a mirror.

Where is the Funtoo Git web portal?

http://git.funtoo.org/

How can I clone one of the repositories?

Please use our mirror on GitHub.com. Just enter https://github.com/funtoo in your browser, then click on the repository of your choice (e.g. flora) and use the direction shown on the web page to get a read-only clone of it.


I am a developer how can get a full access?

Simply:

  1. Submit your SSH public key to the core team
  2. Enter:
$ git clone repos@git.funtoo.org:the-repository-of-your-choice

E.g.

$ git clone repos@git.funtoo.org:flora