diff options
| author | Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> | 2023-08-29 21:35:18 -0700 |
|---|---|---|
| committer | Stefano Stabellini <stefano.stabellini@amd.com> | 2023-08-30 18:23:08 -0700 |
| commit | 560142190bc347fdd4511a795bdcff768799519d (patch) | |
| tree | 5da5527803b60f7028569c9357e181c1c4479555 /hw/arm/fsl-imx7.c | |
| parent | 0c8ab1cddd6c1bf4e3722fcea111e614c22dcc09 (diff) | |
| download | focaccia-qemu-560142190bc347fdd4511a795bdcff768799519d.tar.gz focaccia-qemu-560142190bc347fdd4511a795bdcff768799519d.zip | |
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 'hw/arm/fsl-imx7.c')
0 files changed, 0 insertions, 0 deletions