[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>
2 files changed
tree: 5f7b961a4eb7fa965a33e73bdcd8c8e2a991054a
  1. boards/
  2. build/
  3. bundles/
  4. cts/
  5. docs/
  6. examples/
  7. garnet/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

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.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.