Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

[Newbie] Kernel compiling


david

Question

Hi I'm new to Funtoo Linux and I would like to install a system that has all the performance of the haswell version from the debian sources (http://www.funtoo.org/Intel64-haswell) and the all the features of a KVM compatible kernel (http://www.funtoo.org/KVM).

 

My plan is to copy the .config of stage3-intel64-haswell-funtoo-stable-2015-09-13.tar.xz and change the regarding kernel options. Then use the genkernel (http://www.funtoo.org/Funtoo_Linux_Kernels) with the altered .config file and this USE-Flags (http://www.funtoo.org/Intel64-haswell).

 

Will this work or is there a better way to get exactly the same or a better result(stage 1)?

 

I would be grateful for any constructiv response.

 

David

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Pre-compiled sys-kernel/debian-sources kernel is built with KVM
 
 

rj@funtoo ~ $ uname -a
Linux funtoo 3.19.3-1~exp1 #1 SMP Mon May 18 05:17:08 2015 x86_64 Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz GenuineIntel GNU/Linux

rj@funtoo ~ $ sudo modinfo kvm
filename:       /lib/modules/3.19.3-1~exp1/kernel/arch/x86/kvm/kvm.ko
license:        GPL
author:         Qumranet
depends:        
intree:         Y
vermagic:       3.19.3-1~exp1 SMP mod_unload modversions
parm:           allow_unsafe_assigned_interrupts:Enable device assignment on platforms without interrupt remapping support. (bool)
parm:           ignore_msrs:bool
parm:           min_timer_period_us:uint
parm:           tsc_tolerance_ppm:uint

rj@funtoo ~ $ sudo modinfo kvm-intel
filename:       /lib/modules/3.19.3-1~exp1/kernel/arch/x86/kvm/kvm-intel.ko
license:        GPL
author:         Qumranet
alias:          cpu:type:x86,ven*fam*mod*:feature:*0085*
depends:        kvm
intree:         Y
vermagic:       3.19.3-1~exp1 SMP mod_unload modversions
parm:           vpid:bool
parm:           flexpriority:bool
parm:           ept:bool
parm:           unrestricted_guest:bool
parm:           eptad:bool
parm:           emulate_invalid_guest_state:bool
parm:           vmm_exclusive:bool
parm:           fasteoi:bool
parm:           enable_apicv:bool
parm:           enable_shadow_vmcs:bool
parm:           nested:bool
parm:           ple_gap:int
parm:           ple_window:int
parm:           ple_window_grow:int
parm:           ple_window_shrink:int
parm:           ple_window_max:int

rj@funtoo ~ $ sudo modinfo kvm-amd
filename:       /lib/modules/3.19.3-1~exp1/kernel/arch/x86/kvm/kvm-amd.ko
license:        GPL
author:         Qumranet
alias:          cpu:type:x86,ven*fam*mod*:feature:*00C2*
depends:        kvm
intree:         Y
vermagic:       3.19.3-1~exp1 SMP mod_unload modversions
parm:           npt:int
parm:           nested:int

rj@funtoo ~ $ grep -i kvm  /usr/src/linux-debian-sources-3.19.3/.config
CONFIG_KVM_GUEST=y
# CONFIG_KVM_DEBUG_FS is not set
CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQFD=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_EVENTFD=y
CONFIG_KVM_APIC_ARCHITECTURE=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
CONFIG_KVM_AMD=m
# CONFIG_KVM_MMU_AUDIT is not set
CONFIG_KVM_DEVICE_ASSIGNMENT=y


Link to comment
Share on other sites

×
×
  • Create New...