VirtualBox: kvm vs. vboxdrv

From OnnoWiki
Revision as of 05:59, 22 December 2018 by Onnowpurbo (talk | contribs) (→‎VirtualBox Start / Stop)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

sumber: https://www.dedoimedo.com/computers/kvm-virtualbox.html

Masalah: VirtualBox tidak bisa jalan berbarengan dengan KVM. Yang masalah sebetulnya di VirtualBox :( ..

Cek

sudo /sbin/lsmod | grep vbox
sudo /sbin/lsmod | grep kvm


sudo /sbin/lsmod | grep vbox
vboxpci                24576  0
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               471040  3 vboxpci,vboxnetadp,vboxnetflt
sudo /sbin/lsmod | grep kvm
kvm_intel             212992  0
kvm                   598016  1 kvm_intel
irqbypass              16384  1 kvm

Mematikan KVM

sudo /sbin/rmmod kvm_intel
sudo /sbin/rmmod kvm

Re-insert kvm

/sbin/insmod /lib/modules/`uname -r`/kernel/arch/x86/kvm/kvm.ko
/sbin/insmod /lib/modules/`uname -r`/kernel/arch/x86/kvm/kvm-intel.ko

VirtualBox Start / Stop

/etc/init.d/vboxdrv stop
/etc/init.d/vboxdrv start

stop

rmmod vboxpci
rmmod vboxnetadp
rmmod vboxnetflt
rmmod vboxdrv

start

modprobe vboxpci
modprobe vboxnetadp
modprobe vboxnetflt
modprobe vboxdrv

Referensi


Pranala Menarik