AnsweredAssumed Answered

Problem using Topaz and QEMU/KVM together

Question asked by Juan Rodrigo on Sep 11, 2015
Latest reply on Sep 17, 2015 by Scott Wood



For the t1040RDB we are using Topaz to create two partitions in the system (1 and 3 cores respectively). The idea is to load a fsl-image-virt image in one of them (the one with 3 cores) in order to be able to virtualize with QEMU/KVM. We have managed to set up everything and have the Linux image running, but when we try to telnet to a VM started with the command:


qemu-system-ppc64 -enable-kvm -m 512 -mem-path /var/lib/hugetlbfs/pagesize-4MB -nographic -M ppce500 -kernel /boot/uImage -initrd /images/fsl-image-minimal-t1040rdb.ext2.gz -append "root=/dev/ram rw console=ttyS0,115200" -serial tcp::4444,server,telnet


We get the following error:


QEMU 1.7.0 monitor - type 'help' for more information

(qemu) QEMU waiting for connection on: telnet:,server

e500_mmu_host_init: need to know host tlb size

kvm_init_vcpu failed: Operation not permitted


So, first of all, is it possible to have Topaz and QEMU/KVM working together? If so, how can we solve this issue? Then, even though we could manage to run VMs in this scenario, would their performance be greatly restricted due to the overhead introduced by both hypervisors? Are there any other considerations to take into account regarding performance (such as the possibility to use Direct I/O, etc.)?