virtio_mmio_net
virtio_pcie_fs
Simics Reference Manual
/
5 Classes
/
virtio_pcie_blk
Description
Virtio PCIE block device based on the Virtio 1.1 specification. Implements the base functionality. Does not implement:
VIRTIO_BLK_F_SIZE_MAX
VIRTIO_BLK_F_SEG_MAX
VIRTIO_BLK_F_GEOMETRY
VIRTIO_BLK_F_RO
VIRTIO_BLK_F_BLK_SIZE
VIRTIO_BLK_F_FLUSH
VIRTIO_BLK_F_TOPOLOGY
VIRTIO_BLK_F_CONFIG_WCE
VIRTIO_BLK_F_DISCARD
VIRTIO_BLK_F_WRITE_Z
This device uses MSI-X for interrupts, and does currently not support legacy interrupts. CONFIG_PCI_MSI=y must thus be set in the kernel config.
Interfaces Implemented
conf_object, log_object, pcie_device
Notifiers
cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
state-change
Notifier on potential DML state change
Port Objects
bank.features
virtio_pcie_blk.features
bank.msix_data
virtio_pcie_blk.msix_data
bank.pcie_config
virtio_pcie_blk.pcie_config
bank.virtio_config
virtio_pcie_blk.virtio_config
port.HRESET
virtio_pcie_blk.HRESET
port.phy
virtio_pcie_blk.phy
Commands for this class
info
– print information about the object
status
– print status of the object
Attributes
image
Required
attribute;
read/write
access; type:
o|[os]
disk image
Required interfaces:
image
.
Provided By
virtio
virtio_pcie_blk.HRESET
Interfaces Implemented
conf_object, log_object, signal
Notifiers
cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
virtio_pcie_blk.features
Interfaces Implemented
conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, io_memory, register_view, register_view_read_only
Notifiers
cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
Commands for interface bank_instrumentation_subscribe
bp-break-bank
– set device access break
bp-run-until-bank
– run until specified device access occurs
bp-trace-bank
– enable tracing of device accesses
bp-wait-for-bank
– wait for specified device access
Commands for interface instrumentation_order
instrumentation-move
– reorder instrumentation connections
instrumentation-order
– list instrumentation order for object
virtio_pcie_blk.msix_data
Interfaces Implemented
conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, io_memory, register_view, register_view_read_only
Notifiers
cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
Commands for interface bank_instrumentation_subscribe
bp-break-bank
– set device access break
bp-run-until-bank
– run until specified device access occurs
bp-trace-bank
– enable tracing of device accesses
bp-wait-for-bank
– wait for specified device access
Commands for interface instrumentation_order
instrumentation-move
– reorder instrumentation connections
instrumentation-order
– list instrumentation order for object
virtio_pcie_blk.pcie_config
Interfaces Implemented
conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only, transaction
Notifiers
cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
Commands for interface bank_instrumentation_subscribe
bp-break-bank
– set device access break
bp-run-until-bank
– run until specified device access occurs
bp-trace-bank
– enable tracing of device accesses
bp-wait-for-bank
– wait for specified device access
Commands for interface instrumentation_order
instrumentation-move
– reorder instrumentation connections
instrumentation-order
– list instrumentation order for object
Commands for interface transaction
wait-for-get
– issue an inquiry read transaction and wait for it to complete
wait-for-read
– issue a read transaction and wait for it to complete
wait-for-set
– issue an inquiry write transaction and wait for it to complete
wait-for-write
– issue a write transaction and wait for it to complete
Attributes
function_number
Pseudo
attribute;
read-only
access; type:
i
PCIe function number of this bank
virtio_pcie_blk.phy
Interfaces Implemented
conf_object, log_object, transaction
Notifiers
cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
Commands for interface transaction
wait-for-get
– issue an inquiry read transaction and wait for it to complete
wait-for-read
– issue a read transaction and wait for it to complete
wait-for-set
– issue an inquiry write transaction and wait for it to complete
wait-for-write
– issue a write transaction and wait for it to complete
virtio_pcie_blk.virtio_config
Interfaces Implemented
conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, io_memory, register_view, register_view_read_only
Notifiers
cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
Commands for interface bank_instrumentation_subscribe
bp-break-bank
– set device access break
bp-run-until-bank
– run until specified device access occurs
bp-trace-bank
– enable tracing of device accesses
bp-wait-for-bank
– wait for specified device access
Commands for interface instrumentation_order
instrumentation-move
– reorder instrumentation connections
instrumentation-order
– list instrumentation order for object
virtio_mmio_net
virtio_pcie_fs