[SOLVED]VirtualBox VT-x stopped working since QEMU installed

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED]VirtualBox VT-x stopped working since QEMU installed

Postby mailedfist » Sep 11th, '13, 21:41

Hello All.

I have been happily using VirtualBox for many years but thought I'd try using KVM through QEMU as I'd read some reports that it can be faster. This was a mistake as I now find that any VM I have in VirtualBox that is configured for multiple processors, and therefore needs to use VT-x, no longer works.

I get an error "VT-x is being used by another hypervisor". I presume this means that some part of QEMU/libvirt is still running even when I have nothing started in the Virtual Machine Manager. Do I have any options other than uninstalling QEMU?
Last edited by mailedfist on Sep 14th, '13, 17:24, edited 1 time in total.
Mandrake->Mandriva->Mageia starting in 2003. I really dislike another well-known distro starting with U.
mailedfist
 
Posts: 102
Joined: Sep 11th, '11, 21:28

Re: VirtualBox VT-x stopped working since installing QEMU

Postby mailedfist » Sep 11th, '13, 21:43

Addendum: This is on Mageia 3
Mandrake->Mandriva->Mageia starting in 2003. I really dislike another well-known distro starting with U.
mailedfist
 
Posts: 102
Joined: Sep 11th, '11, 21:28

Re: VirtualBox VT-x stopped working since installing QEMU

Postby ITA84 » Sep 12th, '13, 10:33

It's probably the KVM kernel modules that are preventing those VM from working. I suppose blacklisting the modules would be a way to make things work; of course you wouldn't be able to use KVM and VirtualBox VMs at the same time.

The modules should be 'kvm' and either 'kvm_intel' or 'kvm_amd'. I can't remember if there's more.
ITA84
 
Posts: 199
Joined: Mar 5th, '13, 18:15

Re: VirtualBox VT-x stopped working since installing QEMU

Postby mailedfist » Sep 13th, '13, 23:59

This is what the VirtualBox error hints at, but I thought that was misleading. Surely KVM has been bundled into the kernel for some time? Just installing the QEMU module shouldn't make VirtualBox suddenly decide it can't handle the fact that kernel has KVM in surely?
Mandrake->Mandriva->Mageia starting in 2003. I really dislike another well-known distro starting with U.
mailedfist
 
Posts: 102
Joined: Sep 11th, '11, 21:28

Re: VirtualBox VT-x stopped working since installing QEMU

Postby mailedfist » Sep 14th, '13, 00:10

Ah - see what you mean now. /sbin/rmmod kvm_intel does indeed solve the problem, so the module load list was changed by adding QEMU. Thank you.
Mandrake->Mandriva->Mageia starting in 2003. I really dislike another well-known distro starting with U.
mailedfist
 
Posts: 102
Joined: Sep 11th, '11, 21:28


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest