]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/xen/xen_native.h
xen_arm: Create virtio-mmio devices during initialization
authorOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Wed, 30 Aug 2023 04:35:17 +0000 (21:35 -0700)
committerStefano Stabellini <stefano.stabellini@amd.com>
Thu, 31 Aug 2023 01:23:07 +0000 (18:23 -0700)
commit0c8ab1cddd6c1bf4e3722fcea111e614c22dcc09
tree5d510f769817f507ca54083c9e448ad75428eefd
parent156618d9ea67f2f2e31d9dedd97f2dcccbe6808c
xen_arm: Create virtio-mmio devices during initialization

In order to use virtio backends we need to allocate virtio-mmio
parameters (irq and base) and register corresponding buses.

Use the constants defined in public header arch-arm.h to be
aligned with the toolstack. So the number of current supported
virtio-mmio devices is 10.

For the interrupts triggering use already existing on Arm
device-model hypercall.

The toolstack should then insert the same amount of device nodes
into guest device-tree.

Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Signed-off-by: Vikram Garhwal <vikram.garhwal@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
hw/arm/xen_arm.c
include/hw/xen/xen_native.h