Code: Difference between revisions
From KVM
(Remove completely outdated information about building the external module etc.) |
|||
(30 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
=Code= | |||
== kernel git tree == | == kernel git tree == | ||
git clone git://git.kernel.org/pub/scm/ | The kvm kernel code is available through a git tree (like the kernel itself). To create a repository using git, type | ||
git clone git://git.kernel.org/pub/scm/virt/kvm/kvm.git | |||
Alternatively, it is also accessible through the kernel.org gitweb interface: | Alternatively, it is also accessible through the kernel.org gitweb interface: | ||
[http://git.kernel.org/?p= | [http://git.kernel.org/?p=virt/kvm/kvm.git;a=summary] | ||
For subsequent upgrades use the command | For subsequent upgrades use the command | ||
git | git pull | ||
in the git working directory. | |||
== kernel git workflow == | |||
See [[Kvm-Git-Workflow]] | |||
== userspace git tree == | |||
As of QEMU 1.3, the KVM userspace code is in mainline QEMU. Please use and develop with | |||
git clone https://gitlab.com/qemu-project/qemu.git | |||
/ | '''If you want to contribute code''', please see the [http://wiki.qemu.org/Contribute guidelines] and submit patches to qemu-devel@nongnu.org. | ||
If you | If you are interested in the history of KVM in the QEMU codebase, the old qemu-kvm.git fork repository is still available (but completely outdated nowadays): | ||
git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git | |||
./ | |||
Alternatively, it is also accessible through the kernel.org gitweb interface: | |||
[http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=summary] | |||
[[Category:Docs]][[Category:HowTo]] | |||
Latest revision as of 03:16, 3 August 2023
Code
kernel git tree
The kvm kernel code is available through a git tree (like the kernel itself). To create a repository using git, type
git clone git://git.kernel.org/pub/scm/virt/kvm/kvm.git
Alternatively, it is also accessible through the kernel.org gitweb interface: [1]
For subsequent upgrades use the command
git pull
in the git working directory.
kernel git workflow
See Kvm-Git-Workflow
userspace git tree
As of QEMU 1.3, the KVM userspace code is in mainline QEMU. Please use and develop with
git clone https://gitlab.com/qemu-project/qemu.git
If you want to contribute code, please see the guidelines and submit patches to qemu-devel@nongnu.org.
If you are interested in the history of KVM in the QEMU codebase, the old qemu-kvm.git fork repository is still available (but completely outdated nowadays):
git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git
Alternatively, it is also accessible through the kernel.org gitweb interface: [2]