From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, richard.henderson@linaro.org
Subject: Re: [PATCH v4 00/11] rerandomize RNG seeds on reboot and handle record&replay
Date: Tue, 25 Oct 2022 18:53:57 +0200 [thread overview]
Message-ID: <Y1gUpZPAImM2ugrM@zx2c4.com> (raw)
In-Reply-To: <CAFEAcA89uq1UnO=QatVPW08t-THfkq61H7ct3yeaCm24LgoHFA@mail.gmail.com>
On Tue, Oct 25, 2022 at 05:39:27PM +0100, Peter Maydell wrote:
> On Tue, 25 Oct 2022 at 01:43, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> >
> > When the system reboots, the rng seed that QEMU passes should be
> > re-randomized, so that the new boot gets a new seed. This series wires
> > that up for FDT.
> >
> > Then, since the record&replay subsystem makes use of reset as well, we
> > add a new reset cause for record&replay, so that we can avoid
> > re-randomizing in these cases.
> >
> > Version 4 prevents the new reset type from leaking over QAPI, documents
> > this alongside which version it was introduced, and adds mips and m68k
> > machine types to the queue.
> >
> > Jason A. Donenfeld (11):
> > reset: allow registering handlers that aren't called by snapshot
> > loading
> > device-tree: add re-randomization helper function
> > x86: do not re-randomize RNG seed on snapshot load
> > arm: re-randomize rng-seed on reboot
> > riscv: re-randomize rng-seed on reboot
> > m68k/virt: do not re-randomize RNG seed on snapshot load
> > m68k/q800: do not re-randomize RNG seed on snapshot load
> > mips/boston: re-randomize rng-seed on reboot
> > mips/malta: pass RNG seed via env var and re-randomize on reboot
> > openrisc: re-randomize rng-seed on reboot
> > rx: re-randomize rng-seed on reboot
>
> Hi; I've taken all of these except the mips/malta patch into
> target-arm.next. I have some comments on that one but I
> don't see any reason to hold up the rest of these while we
> sort those out.
Too bad. Philippe does not respond to my emails, so no discussion has
been possible. If you or someone more responsive would like to take over
in that discussion, that'd be great. Let's talk.
Jason
prev parent reply other threads:[~2022-10-25 16:59 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-25 0:43 [PATCH v4 00/11] rerandomize RNG seeds on reboot and handle record&replay Jason A. Donenfeld
2022-10-25 0:43 ` [PATCH v4 01/11] reset: allow registering handlers that aren't called by snapshot loading Jason A. Donenfeld
2022-10-25 6:11 ` Markus Armbruster
2022-10-25 12:09 ` Jason A. Donenfeld
2022-10-25 12:26 ` Peter Maydell
2022-10-25 12:32 ` Jason A. Donenfeld
2022-10-25 12:34 ` Peter Maydell
2022-10-25 12:42 ` Jason A. Donenfeld
2022-10-25 12:50 ` Jason A. Donenfeld
2022-10-25 13:54 ` Peter Maydell
2022-10-25 13:58 ` Jason A. Donenfeld
2022-10-25 15:19 ` Jason A. Donenfeld
2022-10-25 0:43 ` [PATCH v4 02/11] device-tree: add re-randomization helper function Jason A. Donenfeld
2022-10-25 1:32 ` Alistair Francis
2022-10-25 13:30 ` Philippe Mathieu-Daudé
2022-10-25 13:32 ` Jason A. Donenfeld
2022-10-25 0:43 ` [PATCH v4 03/11] x86: do not re-randomize RNG seed on snapshot load Jason A. Donenfeld
2022-10-25 0:43 ` [PATCH v4 04/11] arm: re-randomize rng-seed on reboot Jason A. Donenfeld
2022-10-25 0:43 ` [PATCH v4 05/11] riscv: " Jason A. Donenfeld
2022-10-25 1:31 ` Alistair Francis
2022-10-25 0:43 ` [PATCH v4 06/11] m68k/virt: do not re-randomize RNG seed on snapshot load Jason A. Donenfeld
2022-10-25 0:43 ` [PATCH v4 07/11] m68k/q800: " Jason A. Donenfeld
2022-10-25 0:43 ` [PATCH v4 08/11] mips/boston: re-randomize rng-seed on reboot Jason A. Donenfeld
2022-10-25 0:43 ` [PATCH v4 09/11] mips/malta: pass RNG seed via env var and re-randomize " Jason A. Donenfeld
2022-10-25 16:46 ` Peter Maydell
2022-10-25 16:56 ` Jason A. Donenfeld
2022-10-25 17:28 ` [PATCH v5] " Jason A. Donenfeld
2022-10-25 0:43 ` [PATCH v4 10/11] openrisc: re-randomize rng-seed " Jason A. Donenfeld
2022-10-25 0:43 ` [PATCH v4 11/11] rx: " Jason A. Donenfeld
2022-10-25 16:39 ` [PATCH v4 00/11] rerandomize RNG seeds on reboot and handle record&replay Peter Maydell
2022-10-25 16:53 ` Jason A. Donenfeld [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y1gUpZPAImM2ugrM@zx2c4.com \
--to=jason@zx2c4.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).