aboutsummaryrefslogtreecommitdiff
path: root/include/hw/arm/fsl-imx6ul.h
diff options
context:
space:
mode:
authorOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>2023-08-29 21:35:18 -0700
committerStefano Stabellini <stefano.stabellini@amd.com>2023-08-30 18:23:08 -0700
commit560142190bc347fdd4511a795bdcff768799519d (patch)
tree5da5527803b60f7028569c9357e181c1c4479555 /include/hw/arm/fsl-imx6ul.h
parent0c8ab1cddd6c1bf4e3722fcea111e614c22dcc09 (diff)
downloadqemu-560142190bc347fdd4511a795bdcff768799519d.zip
qemu-560142190bc347fdd4511a795bdcff768799519d.tar.gz
qemu-560142190bc347fdd4511a795bdcff768799519d.tar.bz2
xen_arm: Initialize RAM and add hi/low memory regions
In order to use virtio backends we need to initialize RAM for the xen-mapcache (which is responsible for mapping guest memory using foreign mapping) to work. Calculate and add hi/low memory regions based on machine->ram_size. Use the constants defined in public header arch-arm.h to be aligned with the xen toolstack. While using this machine, the toolstack should then pass real ram_size using "-m" arg. If "-m" is not given, create a QEMU machine without IOREQ and other emulated devices like TPM and VIRTIO. This is done to keep this QEMU machine usable for /etc/init.d/xencommons. 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>
Diffstat (limited to 'include/hw/arm/fsl-imx6ul.h')
0 files changed, 0 insertions, 0 deletions