Re: [PATCH qboot] Place setup_data at location specified by host

2022-09-19 Thread Paolo Bonzini
On Fri, Sep 16, 2022 at 3:42 PM Jason A. Donenfeld wrote: > QEMU places setup_data at a particular location, which cannot be > relocated due to it containing self references in absolute address > terms. For this reason, it supplies the intended location in > FW_CFG_SETUP_ADDR, which is what SeaBIO

[PATCH qboot] Place setup_data at location specified by host

2022-09-16 Thread Jason A. Donenfeld
QEMU places setup_data at a particular location, which cannot be relocated due to it containing self references in absolute address terms. For this reason, it supplies the intended location in FW_CFG_SETUP_ADDR, which is what SeaBIOS uses. So use this too in qboot. This also has the effect of remov