[Top][All Lists]

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

Re: [EXTERNAL] Re: looking to run qemu in kvm mode on neoverse ARM64 wit

From: Pranith Kumar
Subject: Re: [EXTERNAL] Re: looking to run qemu in kvm mode on neoverse ARM64 with ubuntu 21.04
Date: Tue, 23 Mar 2021 17:14:21 -0700

On Tue, Mar 23, 2021 at 5:05 PM Robert Henry <robhenry@microsoft.com> wrote:
On 3/23/21 4:34 PM, Pranith Kumar wrote:

On Tue, Mar 23, 2021 at 2:04 PM Robert Henry <rrh.henry@gmail.com> wrote:

my invocation is:

/usr/bin/qemu-system-aarch64 \
-m size=4096 \
-smp cpus=4 \
-accel kvm \
-cpu host \
-nographic \
-machine virt \
-bios $HOME/QEMU_EFI.fd \
-drive if=none,id=hd0,file=$HOME/ubuntu-20.10-server-cloudimg-rrh-arm64.img \
-device virtio-blk-device,drive=hd0 \
-drive if=none,id=cloud,file=$HOME/linux_cloud_config.img \
-device virtio-blk-device,drive=cloud \
-device virtio-net-device,netdev=user0 \
-netdev user,id=user0,hostfwd=tcp::2222-:22,hostfwd=tcp::5010-:5010,hostfwd=tcp::5000-:5000

Can you try adding gic-version=3 to -machine virt argument as follows? "-machine virt,gic-version=3"


Running on ampere/mtjade, this ,gic-version=3 is needed, and makes kvm mode work as expected!  thanks

However, trying the same recipe on cavium/thunderx2, if I add ,gic-version=3 qemu rejects the invocation with the message:

qemu-system-aarch64: Property 'virt-5.2-machine.gic_version' not found

FWIW, I am grabbing flash images from the host machine's /usr/share/AAVMF/AAVMF_*.fd

On ThunderX2, please use version 2. I am not sure if version 3 is supported.

reply via email to

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