> This suggests your host kernel is either too old or does not have the VGIC 
> support compiled into it.
> (QEMU produces this message if it asks the host kernel "please create a 
> vGICv3" and that fails and then
> it asks "please create a vGICv2" and that also fails.)


Ok, it seems that the emulator should be launched using this command :

/opt/android-sdk/emulator/emulator @MyAVD -cores 4 -lowram -memory
2048 -gpu swiftshader_indirect -ports 5554,5555 -skip-adb-auth
-no-boot-anim -no-snapshot -no-metrics -qemu -machine gic-version=2

or

/opt/android-sdk/emulator/emulator @MyAVD -cores 4 -lowram -memory
2048 -gpu host -ports 5554,5555 -skip-adb-auth -no-boot-anim
-no-snapshot -no-metrics -qemu -machine gic-version=2

Regarding Cuttlefish,maybe the error that I get can be solved in the
same way,declaring -qemu -machine gic-version=2...

The tutorial says to use :

HOME=$(pwd) ./bin/launch_cvd -vm_manager qemu_cli
-report_anonymous_usage_stats=n --start_webrtc=false

So maybe it should be something like this ?

HOME=$(pwd) ./bin/launch_cvd -vm_manager qemu_cli
-report_anonymous_usage_stats=n --start_webrtc=false -cores 4 -lowram
-memory 2048 -gpu host -ports 5554,5555 -skip-adb-auth -no-boot-anim
-no-snapshot -no-metrics -qemu -machine gic-version=2

or similar...


On Wed, Sep 11, 2024 at 12:19 PM Peter Maydell <peter.mayd...@linaro.org>
wrote:

> On Wed, 11 Sept 2024 at 01:02, Mario Marietto <marietto2...@gmail.com>
> wrote:
> >
> > Hello to everyone.
>
> (Please trim your quoted text and don't top-post: it makes emails
> a pain to read.)
>
> > qemu-system-aarch64-headless: Unable to determine GIC version supported
> by host
>
> This suggests your host kernel is either too old or does not have the
> VGIC support compiled into it. (QEMU produces this message if it
> asks the host kernel "please create a vGICv3" and that fails and
> then it asks "please create a vGICv2" and that also fails.)
>
> -- PMM
>


-- 
Mario.

Reply via email to