Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
37
rated 0 times [  37] [ 0]  / answers: 1 / hits: 62026  / 2 Years ago, sun, august 21, 2022, 4:01:20

I would like to do some lib testing on my OS. So I need several environment to run KVM. And I found my guest machine was not able to run KVM.



I was using virtualbox 4.2.


More From » virtualbox

 Answers
0

KVM requires VT-X/AMD-V, but VirtualBox does not pass VT-X/AMD-V to the guest operating system.



Therefore, KVM can't run in VirtualBox (yet). Please track bug ticket #4032.



VT-X and AMD-V (so-called virtualization extensions) run the guest operating system natively in the CPU. Without them, the virtualization software must interpret the operating system opcodes in software, which is very slow.



For now, you can either




  • run KVM inside a hypervisor which passes virtualization extensions to the guest (e.g. KVM inside VMware Workstation 8), or

  • run another hypervisor inside VirtualBox (e.g. VirtualBox inside VirtualBox).
    This option will be very slow, because the guest will miss VT-X/AMD-V.


[#30076] Sunday, August 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bjecterless

Total Points: 59
Total Questions: 96
Total Answers: 105

Location: Argentina
Member since Thu, Mar 18, 2021
3 Years ago
bjecterless questions
;