3.7.34 VirtioBlockDevice

virtio block device. This model is written in C++.

VirtioBlockDevice contains the following CADI targets:

  • VirtioBlockDevice

VirtioBlockDevice contains the following MTI components:

VirtioBlockDevice - about

VirtioBlockDevice implements a block device that can be accessed from the simulated OS if it has an appropriate driver. Similarly to the VirtioP9Device, this component is targeted primarily at Linux, which has a built-in Virtio block driver. VirtioBlockDevice allows you to use a file on the host that you specify using the image_path parameter, as a hard drive in the simulated OS.

Unlike the VirtioP9Device, you should not need to carry out any special set up to use VirtioBlockDevice on VE or Base platforms, because it is usually already included in the device trees. Set the image_path parameter to point to your image, and then on Linux it is available as a block device, usually /dev/vda, which you then use like any other hard drive.

Table 3-241 Ports

Name Protocol Type Description
intr 2.7.2 Signal protocol Master Virtio device sets interrupt to signal completion.
pvbus PVBus Slave Virtio MMIO control/config/status registers.
virtio_m PVBus Master Virtio device performs DMA accesses via master.
Non-ConfidentialPDF file icon PDF version100964_1142_00_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.