Closed Bug 1459351 Opened 6 years ago Closed 6 years ago

Warn if 'mach android-emulator' is requested to start an x86 emulator without kvm-ok, on linux

Categories

(Firefox for Android Graveyard :: Testing, defect)

defect
Not set
normal

Tracking

(firefox61 wontfix, firefox62 fixed)

RESOLVED FIXED
Firefox 62
Tracking Status
firefox61 --- wontfix
firefox62 --- fixed

People

(Reporter: gbrown, Assigned: gbrown)

References

Details

Attachments

(1 file)

On Linux, the current android x86 emulator will not start unless kvm acceleration is available. The resulting failure is generic, with the cause only decipherable by close examination of emulator.log. Instead of letting that happen, let's add some smarts to 'mach android-emulator'.
Blocks: 1425322
A simple check for kvm acceleration before running the x86 emulator: Hopefully the additional diagnostics will help avoid some confusion.
Attachment #8973770 - Flags: review?(jmaher)
Comment on attachment 8973770 [details] [diff] [review]
on linux, if x86 emulator requested, check '-accel-check'

Review of attachment 8973770 [details] [diff] [review]:
-----------------------------------------------------------------

this looks reasonable!
Attachment #8973770 - Flags: review?(jmaher) → review+
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/abd2b3aec711
Warn when 'mach android-emulator' tries to start an x86 emulator without kvm; r=jmaher
https://hg.mozilla.org/mozilla-central/rev/abd2b3aec711
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Target Milestone: Firefox 61 → Firefox 62
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: