On 17/09/2014 18:20, Priyanka Ranjan wrote:
Hello Experts,
I am using CentOS 6.5. I am getting an issue with libguestfs (qemu-kvm)
# /usr/libexec/qemu-kvm -nographic -machine accel=kvm:tcg -device \?
open /dev/kvm: No such file or directory
failed to initialize KVM: Operation not permitted
Back to tcg accelerator.
Could not allocate dynamic translator buffer
Check your kernel and dev dir.
# lsmod | grep kvm
# Output should look like this, execpt for the numbers and
# intel may be amd:
kvm_intel 134469 19
kvm 392084 1 kvm_intel
# ls -l /dev/kvm
# Output should look like this, but the date is not important:
crw-rw---T 1 root kvm 10, 232 Sep 18 2014 /dev/kvm
I saw this issue listed in libguestfs faq
"http://libguestfs.org/guestfs-faq.1.html" and executed
"setsebool -P virt_use_execmem=on" as a solution but that also did
not help. I confirmed this solution with libguestfs mailing list. They
asked me to to write to you. Could you please help me.
Thanks a lot in advance,
Enjoy
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. http://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded