[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/4] optionrom: add new PVH option rom
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 3/4] optionrom: add new PVH option rom |
Date: |
Fri, 11 Jan 2019 16:31:55 +0000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Fri, Jan 11, 2019 at 02:18:35PM +0100, Stefano Garzarella wrote:
> The new pvh.bin option rom can be used with SeaBIOS to boot
> uncompressed kernel using the x86/HVM direct boot ABI.
>
> pvh.S contains the entry point of the option rom. It runs
> in real mode, loads the e820 table querying the BIOS, and
> then it switches to 32bit protect mode and jump to the
> pvh_load_kernel() written in pvh_main.c.
> pvh_load_kernel() loads the cmdline and kernel entry_point
> using fw_cfg, then it looks for RSDP, fills the
> hvm_start_info required by x86/HVM ABI, and finally jumps
> to the kernel entry_point.
>
> Signed-off-by: Stefano Garzarella <address@hidden>
> ---
> pc-bios/optionrom/Makefile | 5 +-
> pc-bios/optionrom/pvh.S | 200 +++++++++++++++++++++++++++++++++++
> pc-bios/optionrom/pvh_main.c | 117 ++++++++++++++++++++
> 3 files changed, 321 insertions(+), 1 deletion(-)
> create mode 100644 pc-bios/optionrom/pvh.S
> create mode 100644 pc-bios/optionrom/pvh_main.c
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- Re: [Qemu-devel] [PATCH 1/4] linuxboot_dma: remove duplicate definitions of FW_CFG, (continued)
- [Qemu-devel] [PATCH 2/4] linuxboot_dma: move common functions in a new header, Stefano Garzarella, 2019/01/11
- Re: [Qemu-devel] [PATCH 2/4] linuxboot_dma: move common functions in a new header, Stefan Hajnoczi, 2019/01/11
- Re: [Qemu-devel] [PATCH 2/4] linuxboot_dma: move common functions in a new header, Stefano Garzarella, 2019/01/11
- Re: [Qemu-devel] [PATCH 2/4] linuxboot_dma: move common functions in a new header, Michael S. Tsirkin, 2019/01/11
- Re: [Qemu-devel] [PATCH 2/4] linuxboot_dma: move common functions in a new header, Eric Blake, 2019/01/11
- Re: [Qemu-devel] [PATCH 2/4] linuxboot_dma: move common functions in a new header, Stefano Garzarella, 2019/01/12
- Re: [Qemu-devel] [PATCH 2/4] linuxboot_dma: move common functions in a new header, Eric Blake, 2019/01/12
- Re: [Qemu-devel] [PATCH 2/4] linuxboot_dma: move common functions in a new header, Stefano Garzarella, 2019/01/12
[Qemu-devel] [PATCH 3/4] optionrom: add new PVH option rom, Stefano Garzarella, 2019/01/11
- Re: [Qemu-devel] [PATCH 3/4] optionrom: add new PVH option rom,
Stefan Hajnoczi <=
[Qemu-devel] [PATCH 4/4] hw/i386/pc: use PVH option rom, Stefano Garzarella, 2019/01/11