You are not logged in.

#1 2013-01-29 17:46:45

Ruub
Member
Registered: 2013-01-29
Posts: 4

[SOLVED] VM's not starting after libvirt 1.0.1-2 -> 1.0.1-4 upgrade

Hi all,

Hopefully you can help with the following. After upgrading from libvirt 1.0.1-2 to 1.0.1-4 I have a odd issue.

When starting a VM the following error pops up:

Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
No accelerator found!

I already checked the /dev/kvm device to have root:kvm rights. My users are in the group libvirt and kvm. and the kvm_intel module is loaded.

Remedy for now is rollback to the previous version
# pacman -U /var/cache/pacman/pkg/libvirt-1.0.1-2-x86_64.pkg.tar.xz

When I restart the libvirt service all VM's are running again.

//edit, see the comment of wuzzeb for the fix

Last edited by Ruub (2013-01-29 21:37:04)

Offline

#2 2013-01-29 20:39:16

the_eye
Member
Registered: 2008-09-01
Posts: 18

Re: [SOLVED] VM's not starting after libvirt 1.0.1-2 -> 1.0.1-4 upgrade

seeing the same problem.

downgraded for now, don't have time for debugging, vms have to be running.

Offline

#3 2013-01-29 21:11:59

wuzzeb
Member
Registered: 2012-10-15
Posts: 6

Re: [SOLVED] VM's not starting after libvirt 1.0.1-2 -> 1.0.1-4 upgrade

I had the same problem. Looks like

https://projects.archlinux.org/svntogit … 97bd6f292a

added -with-qemu-user=nobody --with-qemu-group=nobody  when building, so the default user and group are nobody.  The fix is to edit /etc/libvirt/qemu.conf and override the user and group.  For now I just put it back to root/root, but I might look at creating a new user...

Offline

#4 2013-01-29 21:35:41

Ruub
Member
Registered: 2013-01-29
Posts: 4

Re: [SOLVED] VM's not starting after libvirt 1.0.1-2 -> 1.0.1-4 upgrade

wuzzeb wrote:

I had the same problem. Looks like

https://projects.archlinux.org/svntogit … 97bd6f292a

added -with-qemu-user=nobody --with-qemu-group=nobody  when building, so the default user and group are nobody.  The fix is to edit /etc/libvirt/qemu.conf and override the user and group.  For now I just put it back to root/root, but I might look at creating a new user...

Thanks Wuzzeb, modifying the qemu.conf file fixed the problem for me too. I am also thinking of making a new user specifically for VM's now. For now it is set to root/root to fixes the issue experienced.

Offline

#5 2013-01-30 15:14:55

the_eye
Member
Registered: 2008-09-01
Posts: 18

Re: [SOLVED] VM's not starting after libvirt 1.0.1-2 -> 1.0.1-4 upgrade

thank you, yes, that cleared it up

Offline

#6 2013-02-19 18:52:58

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 370
Website

Re: [SOLVED] VM's not starting after libvirt 1.0.1-2 -> 1.0.1-4 upgrade

Good bless, that I found this thread. Is this a bug? Should that be mentioned on the WIKI?

Offline

Board footer

Powered by FluxBB