Re: [PATCH v3] m68k: write bootinfo as rom section and re-randomize on reboot

2022-10-11 Thread Laurent Vivier
Le 11/10/2022 à 16:56, Jason A. Donenfeld a écrit : On Tue, Oct 11, 2022 at 10:29:45AM +0100, Peter Maydell wrote: On Tue, 11 Oct 2022 at 09:41, Laurent Vivier wrote: Le 03/10/2022 à 13:02, Jason A. Donenfeld a écrit : Rather than poking directly into RAM, add the bootinfo block as a proper

Re: [PATCH v3] m68k: write bootinfo as rom section and re-randomize on reboot

2022-10-11 Thread Jason A. Donenfeld
On Tue, Oct 11, 2022 at 10:29:45AM +0100, Peter Maydell wrote: > On Tue, 11 Oct 2022 at 09:41, Laurent Vivier wrote: > > > > Le 03/10/2022 à 13:02, Jason A. Donenfeld a écrit : > > > Rather than poking directly into RAM, add the bootinfo block as a proper > > > ROM, so that it's restored when rebo

Re: [PATCH v3] m68k: write bootinfo as rom section and re-randomize on reboot

2022-10-11 Thread Peter Maydell
On Tue, 11 Oct 2022 at 09:41, Laurent Vivier wrote: > > Le 03/10/2022 à 13:02, Jason A. Donenfeld a écrit : > > Rather than poking directly into RAM, add the bootinfo block as a proper > > ROM, so that it's restored when rebooting the system. This way, if the > > guest corrupts any of the bootinfo

Re: [PATCH v3] m68k: write bootinfo as rom section and re-randomize on reboot

2022-10-11 Thread Laurent Vivier
Le 03/10/2022 à 13:02, Jason A. Donenfeld a écrit : Rather than poking directly into RAM, add the bootinfo block as a proper ROM, so that it's restored when rebooting the system. This way, if the guest corrupts any of the bootinfo items, but then tries to reboot, it'll still be restored back to n

[PATCH v3] m68k: write bootinfo as rom section and re-randomize on reboot

2022-10-03 Thread Jason A. Donenfeld
Rather than poking directly into RAM, add the bootinfo block as a proper ROM, so that it's restored when rebooting the system. This way, if the guest corrupts any of the bootinfo items, but then tries to reboot, it'll still be restored back to normal as expected. Then, since the RNG seed needs to