QEMU/KVM on T1040RDB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

QEMU/KVM on T1040RDB

跳至解决方案
1,517 次查看
vincenzodo
Contributor II

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

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
1,294 次查看
vincenzodo
Contributor II

I solved the problem by adding the kernel config CONFIG_PROC_DEVICETREE=y this way the used dtb is copied to the /proc directory.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,295 次查看
vincenzodo
Contributor II

I solved the problem by adding the kernel config CONFIG_PROC_DEVICETREE=y this way the used dtb is copied to the /proc directory.

0 项奖励
回复