Starting March 27, 2025, we recommend using android-latest-release instead of aosp-main to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
Virtualization allows single or multiple instances of the Android Automotive OS (AAOS)
to run as a guest virtual machine (VM) alongside other automotive operating such as an
instrument cluster or an instance of OS running the advanced driver assistance systems (ADAS)
on an automotive System-On-Chip (SoC). This is achieved by leveraging an open-standards
based framework for virtualization called VirtIO.
VirtIO provides a well-established interface that enables AAOS to run against a common
virtualized platform that, in turn, allows an AAOS guest VM to be portable across different
hypervisor systems and/or hardware platforms.
Figure 1. AAOS virtualization architecture
To enable automotive use cases, the VirtIO specification has been extended to include devices
such as
virtio-snd for audio,
virtio-scmi
for sensors, power state management, clock management, and performance management,
and virtio-video
for playback use cases. VirtIO drivers corresponding to these devices have also been added to the
Linux kernel
(virtio-snd driver,
IIO SCMI
Sensor driver, and
virtio-video driver).
AAOS provides a reference device called
trout,
which supports virtualized subsystems, such as:
Audio
Dumpstate
Extended View System (EVS)
Garage Mode
Graphics
Sensors
Touchscreen input
Vehicle HAL
Bluetooth
Global navigation satellite system (GNSS)
See these articles to learn more about Virtualization on AAOS:
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Overview\n\n*Virtualization* allows single or multiple instances of the Android Automotive OS (AAOS)\nto run as a guest virtual machine (VM) alongside other automotive operating such as an\ninstrument cluster or an instance of OS running the advanced driver assistance systems (ADAS)\non an automotive System-On-Chip (SoC). This is achieved by leveraging an open-standards\nbased framework for virtualization called *VirtIO*.\nVirtIO provides a well-established interface that enables AAOS to run against a common\nvirtualized platform that, in turn, allows an AAOS guest VM to be portable across different\nhypervisor systems and/or hardware platforms.\n**Figure 1.** AAOS virtualization architecture\n\nTo enable automotive use cases, the VirtIO specification has been extended to include devices\nsuch as\n[virtio-snd](https://github.com/oasis-tcs/virtio-spec) for audio,\n[virtio-scmi](https://github.com/oasis-tcs/virtio-spec)\nfor sensors, power state management, clock management, and performance management,\nand [virtio-video](http://archive.lwn.net:8080/linux-media/6557912.4vTCxPXJkl@os-lin-dmo/T/)\nfor playback use cases. VirtIO drivers corresponding to these devices have also been added to the\nLinux kernel\n([virtio-snd driver](https://elixir.bootlin.com/linux/v5.13/source/sound/virtio),\n[IIO SCMI\nSensor driver](https://elixir.bootlin.com/linux/v5.13/source/drivers/iio/common/scmi_sensors), and\n[virtio-video driver](https://github.com/OpenSynergy/android-kernel-common/tree/opsy/android11-5.4-trout/drivers/media/virtio)).\n\nAAOS provides a reference device called\n*[*trout*](https://android.googlesource.com/device/google/trout/)*,\nwhich supports virtualized subsystems, such as:\n\n- Audio\n- Dumpstate\n- Extended View System (EVS)\n- Garage Mode\n- Graphics\n- Sensors\n- Touchscreen input\n- Vehicle HAL\n- Bluetooth\n- Global navigation satellite system (GNSS)\n\nSee these articles to learn more about Virtualization on AAOS:\n\n- [Architecture](/docs/automotive/virtualization/architecture)\n- [Tools](/docs/automotive/virtualization/tools)\n- [Reference platform](/docs/automotive/virtualization/reference_platform)"]]