diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2021-03-03 17:36:39 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2021-03-10 15:34:11 +0000 |
commit | a33ff6d2c6bd480fbab3bc9f748655a9269881eb (patch) | |
tree | 6d9648a35dd1eeaaa7820918ef4e0d7dccdbff0f /MAINTAINERS | |
parent | 78da6a1bca224a8c1c4b1bdf2ca8ec19c74c6fc1 (diff) | |
download | qemu-a33ff6d2c6bd480fbab3bc9f748655a9269881eb.zip qemu-a33ff6d2c6bd480fbab3bc9f748655a9269881eb.tar.gz qemu-a33ff6d2c6bd480fbab3bc9f748655a9269881eb.tar.bz2 |
hw/core: implement a guest-loader to support static hypervisor guests
Hypervisors, especially type-1 ones, need the firmware/bootcode to put
their initial guest somewhere in memory and pass the information to it
via platform data. The guest-loader is modelled after the generic
loader for exactly this sort of purpose:
$QEMU $ARGS -kernel ~/xen.git/xen/xen \
-append "dom0_mem=1G,max:1G loglvl=all guest_loglvl=all" \
-device guest-loader,addr=0x42000000,kernel=Image,bootargs="root=/dev/sda2 ro console=hvc0 earlyprintk=xen" \
-device guest-loader,addr=0x47000000,initrd=rootfs.cpio
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210303173642.3805-5-alex.bennee@linaro.org>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 7387861..3864469 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2022,6 +2022,11 @@ F: hw/core/generic-loader.c F: include/hw/core/generic-loader.h F: docs/generic-loader.txt +Guest Loader +M: Alex Bennée <alex.bennee@linaro.org> +S: Maintained +F: hw/core/guest-loader.c + Intel Hexadecimal Object File Loader M: Su Hang <suhang16@mails.ucas.ac.cn> S: Maintained |