Hello,
I'm testing kvm/qemu on a T1040RDB but I get the following error when launching the virtual machine with the following parameters:
qemu-system-ppc64 -enable-kvm -nographic -m 512 -M ppce500 -kernel vmlinux -initrd rootfs.ext2.gz -append "root=/dev/ram rw loglevel=7 console=ttyS0,115200" -dtb mpc8544ds.dtb -S
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
Can't open directory /proc/device-tree/cpus/
This message seems to come from the qemu/target-ppc/kvm.c file (line 1752). And the method which produces it is used to find a device tree node for a CPU with clock-frequency property.
And after these messages the process blocks and I have to reboot the board. Does anyone have a clue on how to solve this?
I'm using QEMU 2.2.0 and kernel 3.12.
Thank you and best regards,
Vincent
已解决! 转到解答。
I solved the problem by adding the kernel config CONFIG_PROC_DEVICETREE=y this way the used dtb is copied to the /proc directory.