Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# Copyright (c) 2022, Arm Limited.
#
# SPDX-License-Identifier: MIT

name = "aaos-vm"
memory = 6144
vcpus = 4
extra = " earlyprintk=xenboot console=hvc0 rw androidboot.console=hvc0 androidboot.serialconsole=1"
root = "/dev/xvda2"
kernel = "/home/root/u-boot.bin"
disk = ['format=qcow2, vdev=xvda, access=rw, target=/home/leoy/android-cf-mainline/cf/cuttlefish/instances/cvd-1/overlay.img', 'format=qcow2, vdev=xvdb, access=rw, target=/home/leoy/android-cf-mainline/cf/cuttlefish/instances/cvd-1/persistent_composite_overlay.img', 'format=qcow2, vdev=xvdc, access=rw, target=/home/leoy/android-cf-mainline/cf/cuttlefish/instances/cvd-1/sdcard_overlay.img']
vif = ['mac=00:16:3E:74:34:32', 'mac=00:16:3e:5f:48:e4', 'mac=00:16:3E:74:34:32,script=vif-bridge,bridge=xenbr0']
#virtiovirtio_qemu_domid = 0

Note, the prebuilt TRS image provided uses an outdated Xen repository, resulting in the lack of support for the option virtio = ['transport=pci,

...

backend_type=qemu,

...

bdf=02:00.0']

...

. If you are building a TRS image using the Xen and AOSP maintenance repositories located in the directory xen-aosp, it is necessary to include the virtio configuration to enable the virtio-pci bus.

We have a recorded video which has been uploaded to the server [3]. You can refer to it for how to lanch AAOS on Xen virtual machine.

...