LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem using KVM on Debian 8.5 Cinnamon (https://www.linuxquestions.org/questions/linux-software-2/problem-using-kvm-on-debian-8-5-cinnamon-4175585923/)

vitronix 07-31-2016 08:24 AM

Problem using KVM on Debian 8.5 Cinnamon
 
Hello all of you out there,

I wanted to use a different virtualization then VMware Player.
I want to do everything the open source way.
I tried VirtualBox but wasn't very satisfied with that.
So I thought about using KVM and Qemu.
I have enabled virtualization on my i5 Intel CPU
The virtual machine manager runs.
But when I try to create a virtual machine I get the following error:

Code:

Unable to complete install: 'internal error: process exited while connecting to monitor: Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied

Details:

Unable to complete install: 'internal error: process exited while connecting to monitor: Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1787, in do_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 403, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/guest.py", line 467, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3440, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied

I googled but nothing useful came up
Does anybody have any idea?

Thanks in advance,

Vitronix

hydrurga 08-01-2016 07:19 AM

It doesn't answer your question, but what was it about VirtualBox that you didn't like?

jefro 08-01-2016 03:25 PM

"Permission denied" tends to make me think of a file based or user based permission.

Are you creating a client from a gui?

You should be able to run terminal program qemu (or some such name) and see if it runs and returns some error since the is no script to run.

vitronix 08-02-2016 09:26 AM

What I like about qemu
 
I feel realy stupid: I did not install qemu properly, things are running fine now.

What I like about qemu is the fact that you can run vm's of a different architecture like ARM.

Only thing that I have to figure out is how to select where the virtual disk is created, I would like to do that i my home folder.
But I will figure that out by myself.
Sorry for the fact that I have been wasting your time.


All times are GMT -5. The time now is 07:24 AM.