-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Emulator Launch keeps failing with HV_UNSUPPORTED #9472
Comments
Hello! Apple M1 (which is a base for both OS13 & OS14 arm64 runners) does not support nested virtualisation, that is why android emulator is not supposed to function here, it is expected and nothing could/should be done here. |
@mikhailkoliada I see, makes sense. Is there any alternative to launch emulator on M1 devices? |
@mikhailkoliada Also, could you please explain how is it nested virtualisation if I am not running in Rosetta? I am using qemu-darwin-aarch64. |
Nevermind, I think it's because we are trying to launch the emulator VM inside the macOS VM. |
Copying the comment from @peterlazar1993 , looks like it could be interesting for theoretical future GitHub Actions runners on M3 chips with macOS Sequoia:
|
Description
We are trying to launch Android emulator using our test script. I have pasted a snippet of the relevant code below:
This same script works across macos-12 and macos-13 images. However, on macos-13-arm agents, it keeps failing with the following error:
Is there some agent level suppressions that's failing to launch Hypervisor? Since the same script works for macOS-13 (Intel), I don't think there's an issue with the script.
Platforms affected
Runner images affected
Image version and build link
Image: macos-13-arm64
Version: 20240219.3
https://msasg.visualstudio.com/Bing_Ads/_build/results?buildId=44158865&view=logs&j=1f633cd7-02c6-5eca-e555-d21a3c888056&t=6b46bbb8-3868-5170-56cb-4f4fbbcb5c8f
Is it regression?
No
Expected behavior
Android emulator should launch with Hypervisor.
Actual behavior
Hypervisor creation fails with HV_UNSUPPORTED.
Repro steps
Try to launch emulator.
The text was updated successfully, but these errors were encountered: