From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbdj5-0005ik-Ul for qemu-devel@nongnu.org; Mon, 14 Sep 2015 20:04:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zbdj2-0000iQ-Ov for qemu-devel@nongnu.org; Mon, 14 Sep 2015 20:03:59 -0400 Received: from g2t4620.austin.hp.com ([15.73.212.81]:43747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbdj2-0000hj-JT for qemu-devel@nongnu.org; Mon, 14 Sep 2015 20:03:56 -0400 Received: from g1t6215.austin.hpicorp.net (g1t6215.austin.hpicorp.net [15.67.1.191]) by g2t4620.austin.hp.com (Postfix) with ESMTP id 3571116D for ; Tue, 15 Sep 2015 00:03:49 +0000 (UTC) Received: from [16.78.179.207] (leonstudio.americas.hpqcorp.net [16.78.179.207]) by g1t6215.austin.hpicorp.net (Postfix) with ESMTP id 0A62066 for ; Tue, 15 Sep 2015 00:03:48 +0000 (UTC) From: liang yan Message-ID: <55F76064.8010504@hpe.com> Date: Mon, 14 Sep 2015 18:03:48 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Could not boot a guest vm from kvm mode based on APM X-Gene Host and latest qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, All, I am trying to enable kvm for a guest vm on an APM X-Gene Host with latest qemu, but could not make it work. The host is APM X-Gene 8-core, Linux kernel is 4.1.0-rc7-1-arm64, Guest kernel is linux-3.16rc3 QEMU is latest version Host has these dmesg info [ 2.708259] kvm [1]: GICH base=0x780c0000, GICV base=0x780e0000, IRQ=25 [ 2.708327] kvm [1]: timer IRQ30 [ 2.708335] kvm [1]: Hyp mode initialized successfully Host has dev/kvm. command-line is aarch64-softmmu/qemu-system-aarch64 -machine virt,kernel_irqchip=off -cpu cortex-a57 -machine accel=kvm -nographic -smp 1 -m 2048 -kernel aarch64-linux-3.16rc3-buildroot.img --append "console=ttyAMA0" when using cpu "cortex-a57", got the error "kvm_init_vcpu failed: Invalid argument" when using cpu "host", got the error "Failed to retrieve host CPU features!" By the way, all the command line works well under "tcg" mode. Anyone has a quick idea? Thanks in advance. Best, Liang