Closed
Bug 1121375
Opened 11 years ago
Closed 8 years ago
Support non-ARM guest systems on Emulator
Categories
(Firefox OS Graveyard :: Emulator, defect)
Tracking
(tracking-b2g:+)
RESOLVED
WONTFIX
| tracking-b2g | + |
People
(Reporter: tzimmermann, Unassigned)
References
Details
Our current emulator only runs ARM-based guest systems. We want to support more architectures, especially x86. If host and guest use the same architecture, emulation speed might increase.
TODO:
- get all packages compiled
- support all devices in the guest kernel
| Reporter | ||
Updated•11 years ago
|
Blocks: b2g-emulator
| Reporter | ||
Comment 1•11 years ago
|
||
I was able to build and run emulator-x86-kk with today's branches. If no HW support for virtualization is available, the emulator will run just as slow as before. It took minutes to boot the guest system.
I switched on KVM (by installing qemu-kvm on Debian). KVM is the Linux driver for HW-based virtualization. It's available if you see '/dev/kvm' on your host machine. With KVM available, Qemu runs with near-native performance. Booting the guest system takes a few seconds, the display updates are fast, the overall system is very much usable.
HW-based emulation looks like the way forward for improved performance and faster automated testing.
| Reporter | ||
Updated•11 years ago
|
Blocks: b2g-emulator-x86-KK
Updated•11 years ago
|
tracking-b2g:
--- → +
Comment 2•11 years ago
|
||
Dear Thomas,
The result looks good. Will you help to integrate all required manifests and packages?
Thanks!
Flags: needinfo?(tzimmermann)
| Reporter | ||
Comment 3•11 years ago
|
||
Hi,
Bug 1124567 finally landed, so I wanted to take a look at bug 1090359 about getting emulator-kk running.
The x86 emulator (this bug) only makes sense if the hardware supports virtualization. I heard that our test machines have rather weak hardware, so I don't expect x86 emulation to make a big difference. I'd look closer into it after bug 1090359 is ready.
Flags: needinfo?(tzimmermann)
Comment 4•11 years ago
|
||
If nothing else, it would be nice to be able to use `./mach mochitest` with hardware-virtualized x86 emulators locally, to reproduce test failures that aren't architecture-dependent.
Updated•10 years ago
|
Blocks: Emulator_L_Local
Updated•10 years ago
|
No longer blocks: Emulator_L_Local
Updated•10 years ago
|
No longer blocks: b2g-emulator-x86-KK
Comment 5•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•