ASRock.com Homepage
Forum Home Forum Home > Technical Support > AMD Motherboards
  New Posts New Posts RSS Feed - How to enable Virtualization on Fatal1ty X470?
  FAQ FAQ  Forum Search Search  Events   Register Register  Login Login

How to enable Virtualization on Fatal1ty X470?

 Post Reply Post Reply
Author
Message
RBK View Drop Down
Newbie
Newbie


Joined: 21 Oct 2018
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote RBK Quote  Post ReplyReply Direct Link To This Post Topic: How to enable Virtualization on Fatal1ty X470?
    Posted: 21 Oct 2018 at 3:56am
Running Linux, it's not possible to use virtualization on the Fatal1ty X470 Gaming K4.
The CPU support is there:
# lscpu | grep Virtualization
Virtualization:      AMD-V

But trying to load the kermel module, one gets this error message:
# modprobe kvm-amd
modprobe: ERROR: could not insert 'kvm_amd': Operation not supported

Normally, this is because of virtualization turned off in the BIOS by some security setting.
What is the BIOS option to turn virtualization on?
Back to Top
RBK View Drop Down
Newbie
Newbie


Joined: 21 Oct 2018
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote RBK Quote  Post ReplyReply Direct Link To This Post Posted: 21 Oct 2018 at 6:53pm
Moreover, when I modprobe kvm-amd, such a line is appended to the kernel ring buffer:
[54406.792989] kvm: disabled by bios
Back to Top
basedmeezus View Drop Down
Newbie
Newbie


Joined: 13 Oct 2018
Status: Offline
Points: 68
Post Options Post Options   Thanks (1) Thanks(1)   Quote basedmeezus Quote  Post ReplyReply Direct Link To This Post Posted: 23 Oct 2018 at 5:45am
In uefi/bios, should be under advanced -> cpu configuration -> SVM. Set from disabled to enable. Also check out the OC Tweaker and enable SMT. 

SVM = Secure Virtual Machine
SMT = Simultaneous Multithreading 

Also which Linux kernel version are you running? I know there's a bug within asrock bios containing agesa pinnacle_pi 1.0.0.4. Upgrading your Linux kernel to 4.18.10+ should resolve any virtualization issues your having if you have AMD SVM enabled.
Back to Top
RBK View Drop Down
Newbie
Newbie


Joined: 21 Oct 2018
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote RBK Quote  Post ReplyReply Direct Link To This Post Posted: 23 Oct 2018 at 6:25am
Got it and it works (kernel is 4.18.10). Thanks a lot!
I'm just wondering why this is turned off by default?
Back to Top
basedmeezus View Drop Down
Newbie
Newbie


Joined: 13 Oct 2018
Status: Offline
Points: 68
Post Options Post Options   Thanks (1) Thanks(1)   Quote basedmeezus Quote  Post ReplyReply Direct Link To This Post Posted: 23 Oct 2018 at 7:08am
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.609 seconds.