Skip to content

x86: fix fallout from switching setup_data from kernel image to cmdline

Jason A. Donenfeld qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86: reset rng seed when reading cmdline, not kernel imagehw/i386/x86.c+4 -40 replies
2/2x86: don't append setup_data to cmdline for SEV guestshw/i386/x86.c+2 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] x86: fix fallout from switching setup_data from kernel image to cmdline

With eac7a7791bb6 ("x86: don't let decompressed kernel image clobber setup_data"), the rng seed setup_data is now appended to the cmdline file rather than the kernel image file. In the process of doing that, two things were left out: the check for sev_enabled(), and resetting the RNG seed when selecting the cmdline. This short series fixes those up.

Cc "Michael S. Tsirkin" <[email protected]>
Cc Dov Murik <[email protected]>
Cc Tom Lendacky <[email protected]>
Cc Gerd Hoffmann <[email protected]>
Cc "Daniel P. Berrangé" <[email protected]>
Cc Paolo Bonzini <[email protected]>
Cc Richard Henderson <[email protected]>

Dov Murik (1):
x86: don't append setup_data to cmdline for SEV guests

Jason A. Donenfeld (1):
x86: reset rng seed when reading cmdline, not kernel image

 hw/i386/x86.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.39.1