configs: Use MmioVirtIO for disk image in baremetal.py
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 28 Jan 2021 11:51:30 +0000 (11:51 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 29 Jan 2021 22:41:24 +0000 (22:41 +0000)
commit85c1fdac29cb916a41f8142b70365a709ef9d343
tree1124ef46beb9a84ff04758fff598760dcc4eea7a
parent88a2a18c1c41a12ac5d6b16d554e7301f9d2e27b
configs: Use MmioVirtIO for disk image in baremetal.py

The baremetal platform is the platform we use for running
user supplied binaries on baremetal hardware.
(simply put, it runs provided binaries without adding
a gem5 bootloader)

Some layers of this software stack might not have a pci driver.
This might be the case for firmware images like edkII
which needs to use a block device to extract the bootloader
and/or the kernel image. Those can use the memory mapped
(in host domain) virtio block device which is already
part of the VExpress_GEM5 platforms

Change-Id: I9c6ba7e1b4566a3999fd9ba20a2bebe191dc3ef8
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39995
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Richard Cooper <richard.cooper@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/example/arm/baremetal.py