Quoting David Torres (d.tor...@ct.co.cr):
> Hi all,
> 
> My name is David Torres, I am from Costa Rica. See this is the problem I have 
> with the KVM instalation:
> 
> 2012-10-03 20:28:17.395+0000: 25793: warning : qemuCapsInit:856 : Failed to 
> get host power management capabilities
> 2012-10-03 20:28:17.661+0000: 25793: error : virExecWithHook:328 : Cannot 
> find 'pm-is-supported' in path: No such file or directory

This should be innocent, but

> And this error from the kern.log:
> 
> Oct  4 21:50:53 kvm kernel: [22727.849902] device vnet0 entered promiscuous 
> mode
> Oct  4 21:50:53 kvm kernel: [22727.883686] br0: port 2(vnet0) entering 
> forwarding state
> Oct  4 21:50:53 kvm kernel: [22727.883692] br0: port 2(vnet0) entering 
> forwarding state
> Oct  4 21:50:53 kvm kernel: [22728.130242] br0: port 2(vnet0) entering 
> forwarding state
> Oct  4 21:50:53 kvm kernel: [22728.134443] br0: port 2(vnet0) entering 
> disabled state
> Oct  4 21:50:53 kvm kernel: [22728.135238] device vnet0 left promiscuous mode
> Oct  4 21:50:53 kvm kernel: [22728.135242] br0: port 2(vnet0) entering 
> disabled state
> Oct  4 21:50:54 kvm kernel: [22728.673620] type=1400 
> audit(1349409054.320:42): apparmor="STATUS" operation="profile_remove" 
> name="libvirt-9b75f498-7959-7321-9461-d729d9c60668" pid=6349 
> comm="apparmor_parser"
> 
> 
> And when I try to create a Virtual Machine from the Virtual Machine Monitor, 
> I got this error message:
> 
> 2012-10-04 22:59:32.154+0000: 1333: error : qemuProcessReadLogOutput:1006 : 
> internal error Process exited while reading console log output: char device 
> redirected to /dev/pts/2
> Could not access KVM kernel module: Is a directory
> failed to initialize KVM: Is a directory

This is your problem - /dev/kvm is a directory.  You should be able to (as 
root):

mv /dev/kvm /dev/kvm.bak
mknod /dev/kvm c 10 232
chmod 666 /dev/kvm

Note that chmod 666 isn't ideal, but since I don't know the state of the
rest of your install, it should at least work.

It would be interesting to see what is in that directory, i.e. the result
of

ls -l /dev/kvm /dev/kvm.bak
ls -ld /dev/kvm /dev/kvm.bak

-serge

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to