aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/virtio-mmio.c
Commit message (Collapse)AuthorAgeFilesLines
* acpi: find and register virtio-mmio devicesGerd Hoffmann2020-05-151-0/+20
| | | | | | | Seach for virtio-mmio devices in the DSDT table, register the devices found. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* virtio-mmio: print device typeGerd Hoffmann2020-05-151-2/+19
|
* virtio-mmio: add support for block devices.Gerd Hoffmann2020-05-151-1/+2
| | | | | | | | | | Add and use bootprio_find_mmio_device() to figure the boot priority of virtio-mmio block devices. Add init_virtio_blk_mmio to initialize one virtio-mmio block device. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* virtio-mmio: add support for scsi devices.Gerd Hoffmann2020-05-151-1/+2
| | | | | | | | | | | | | | | Add new fields to struct virtio_lun_s for mmio support, add mmio parameter to virtio_scsi_init_lun(), so both pci and mmio devices can be handled. Add and use bootprio_find_scsi_mmio_device() to figure boot priority of devices connected to a virtio-mmio scsi controller. Finally add init_virtio_scsi_mmio() to initialize one virtio-mmio scsi controller. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* virtio-mmio: device probing and initialization.Gerd Hoffmann2020-05-151-0/+58
Add virtio_mmio_setup_one() to setup virtio mmio devices. Add vp_init_mmio() to initialize device struct. Because virtio-pci and virtio-mmio are quite simliar we reuse the infrastructure we already have for virtio-pci and just setup struct vp_cap for virtio-mmio. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>