QEMU/KVM on T1040RDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QEMU/KVM on T1040RDB

Jump to solution
1,397 Views
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

Labels (1)
Tags (3)
0 Kudos
Reply
1 Solution
1,174 Views
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.

View solution in original post

0 Kudos
Reply
1 Reply
1,175 Views
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 Kudos
Reply