Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Can't enable KVM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dirtboxes
n00b
n00b


Joined: 27 Apr 2021
Posts: 39

PostPosted: Mon May 31, 2021 10:45 am    Post subject: [SOLVED]Can't enable KVM Reply with quote

I look through virtualization and I can't find KVM.

Any help appreciated.


Last edited by dirtboxes on Sat Jun 05, 2021 10:17 am; edited 1 time in total
Back to top
View user's profile Send private message
kukibl
Apprentice
Apprentice


Joined: 10 Jun 2008
Posts: 237

PostPosted: Mon May 31, 2021 10:48 am    Post subject: Reply with quote

Where did you look? In kernel config? BIOS?
Back to top
View user's profile Send private message
dirtboxes
n00b
n00b


Joined: 27 Apr 2021
Posts: 39

PostPosted: Mon May 31, 2021 10:49 am    Post subject: Reply with quote

kukibl wrote:
Where did you look? In kernel config? BIOS?

Yes, through kernel config.
Back to top
View user's profile Send private message
kukibl
Apprentice
Apprentice


Joined: 10 Jun 2008
Posts: 237

PostPosted: Mon May 31, 2021 10:57 am    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/QEMU#Kernel

Also, where did you start? Old config or running system kernel config?
Back to top
View user's profile Send private message
dirtboxes
n00b
n00b


Joined: 27 Apr 2021
Posts: 39

PostPosted: Mon May 31, 2021 11:04 am    Post subject: Reply with quote

kukibl wrote:
https://wiki.gentoo.org/wiki/QEMU#Kernel

Also, where did you start? Old config or running system kernel config?


1. I've read through that article and I look through the virtualization tab and I have no options.

2. Running system config
Back to top
View user's profile Send private message
kukibl
Apprentice
Apprentice


Joined: 10 Jun 2008
Posts: 237

PostPosted: Mon May 31, 2021 12:34 pm    Post subject: Reply with quote

Can you give us more info?

Output of "emerge --info", which kernel version you are trying to configure&compile. Post as well .config to pastebin (or similar service).
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Mon May 31, 2021 4:10 pm    Post subject: Reply with quote

You probably want to search menuconfig for KVM_INTEL or KVM_AMD, depending on your host CPU. That should take you to the area where you can enable it. This is defined in arch/x86/kvm/Kconfig, and appears under the Virtualization parent node. The depend statements look fairly simple, and you probably already satisfy all of them.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum