summaryrefslogtreecommitdiffstats
path: root/net/net.c
diff options
context:
space:
mode:
authorAlex Bennée2021-03-03 18:36:39 +0100
committerAlex Bennée2021-03-10 16:34:11 +0100
commita33ff6d2c6bd480fbab3bc9f748655a9269881eb (patch)
tree6d9648a35dd1eeaaa7820918ef4e0d7dccdbff0f /net/net.c
parentdevice_tree: add qemu_fdt_setprop_string_array helper (diff)
downloadqemu-a33ff6d2c6bd480fbab3bc9f748655a9269881eb.tar.gz
qemu-a33ff6d2c6bd480fbab3bc9f748655a9269881eb.tar.xz
qemu-a33ff6d2c6bd480fbab3bc9f748655a9269881eb.zip
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 'net/net.c')
0 files changed, 0 insertions, 0 deletions