commit | cdc9836507a6b740d80f65a39ea901ccffc38a60 | [log] [tgz] |
---|---|---|
author | Travis Geiselbrecht <travisg@google.com> | Thu Jul 09 00:18:56 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Jul 09 00:18:56 2020 +0000 |
tree | 5f7b961a4eb7fa965a33e73bdcd8c8e2a991054a | |
parent | 7814c0ff9b2087ac5e312974f165815cf60c4246 [diff] |
[fx][qemu] Tweak qemu arguments to be qemu 2.12 and qemu 5 compatible A few tweaks: - switch gic_version argument to gic-version, both of which are accepted in qemu 2.12 but only the latter accepted in qemu 5 - set the machine emulation from 'virt' to 'virt-2.12' to fix it at 2.12 feature set with regards to memory layout. newer machine emulations break the current board driver, which will need to be fixed in the zircon codebase. - TCG only: default gic-version to max, set cpu to max. Both of which are supported in qemu 2 and 5. Nets new cpu features in qemu 5, no real functional change for gic version but is cleaner. For KVM runs the cpu and gic versions are the same (gic-version=host,cpu=host) so will not need to be tweaked. Also removed a hard coded --gic=3 override in the upper tools/devshell/qemu script that as far as I can tell was unnecessary anyway because the run-zircon script already defaulted to 3, and now defaults to max which is effectively 3. Bug: 54317 Change-Id: Ic8fe730712dea950107eab0c26dfbbfc994ad63d Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/401675 Commit-Queue: Travis Geiselbrecht <travisg@google.com> Reviewed-by: Roland McGrath <mcgrathr@google.com> Reviewed-by: Petr Hosek <phosek@google.com> Testability-Review: Roland McGrath <mcgrathr@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.