qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Anyone can help me? I run KVM + QEMU failed


From: Zheng Jian
Subject: Anyone can help me? I run KVM + QEMU failed
Date: Thu, 23 Mar 2023 02:29:22 +0000

Dear Qemu technical experts:

My question is whether QEMU also needs to support specific CPU models when KVM is turned on? Here is the description of the problem I encountered.

 

I want to run KVM+QEMU on my mobile phone, which is piexl7. Compiled the corresponding qemu-system-aarch64 bin.

Then put it into the mobile phone to run, and found that qemu would hang, and then stopped running. The command line is as follows

 

./qemu-system-aarch64 -enable-kvm -m 1024 -M virt -cpu host  \

   -nographic -kernel Image -drive if=none,file=disk_oe64.img,id=fs -device virtio-blk-device,drive=fs \

  -append "earlyprintk console=ttyAMA0 mem=512M rootwait root=/dev/vda rw"

 

 

 

If I don't use KVM, it can run completely using QEMU to realize virtual hardware. The command is as follows:

 

./qemu-system-aarch64 -m 512 -M virt -cpu cortex-a57  -nographic -kernel Image \

-drive if=none,file=disk_oe64.img,id=fs -device virtio-blk-device,drive=fs  \

-append "earlyprintk console=ttyAMA0 mem=512M rootwait root=/dev/vda rw"

 

 

 

Best Regards,

Zhengjian

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]