Code: Difference between revisions
From KVM
No edit summary |
(Remove completely outdated information about building the external module etc.) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
=Code= | =Code= | ||
== kernel git tree == | == kernel git tree == | ||
Line 9: | Line 5: | ||
The kvm kernel code is available through a git tree (like the kernel itself). To create a repository using git, type | 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 | |||
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: | ||
Line 30: | Line 24: | ||
As of QEMU 1.3, the KVM userspace code is in mainline QEMU. Please use and develop with | As of QEMU 1.3, the KVM userspace code is in mainline QEMU. Please use and develop with | ||
git clone | git clone https://gitlab.com/qemu-project/qemu.git | ||
'''If you want to contribute code''', please see the [http://wiki.qemu.org/Contribute | '''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 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 | git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git | ||
Line 41: | Line 35: | ||
[http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=summary] | [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]