Re: Trying to build KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 29, 2018 at 01:33:54PM -0400, Arslan Khan wrote:
> http://git.kiszka.org/?p=kvm-kmod.git
> 
> the last commit was in 2014 so i am guessing this repo is long
> abandoned. Where do i get the modules latest sources? Is the upstream
> kernel only place for this or do we still develop in some external
> module kit? My end goal is to debug both kernel module and userspace
> program.

Hi Arslan,
The instructions you have followed are outdated.  The Linux kernel
repository includes the kvm.ko kernel module code.  The QEMU repository
includes the QEMU userspace code.

If you just want to debug, then start by installing your distro's
debuginfo packages.  You do not need to build KVM or QEMU from source in
order to do this.

If you really want to build from source (so that you can modify the
code), grab linux.git and qemu.git.  You can use your distro's kernel
.config file to build the kernel (it probably has kvm.ko enabled as a
module by default).

Instructions for building qemu.git are here:
https://wiki.qemu.org/Hosts/Linux

Stefan

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux