[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests
From: |
Jason A. Donenfeld |
Subject: |
Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests |
Date: |
Wed, 8 Feb 2023 12:54:23 -0300 |
On Wed, Feb 8, 2023 at 12:49 PM Dov Murik <dovmurik@linux.ibm.com> wrote:
> /*
> * Add the NUL terminator, some padding for the microvm cmdline fiddling
> * hack, and then align to 16 bytes as a paranoia measure
> */
> cmdline_size = (strlen(machine->kernel_cmdline) + 1 +
> VIRTIO_CMDLINE_TOTAL_MAX_LEN + 16) & ~15;
> /* Make a copy, since we might append arbitrary bytes to it later. */
> kernel_cmdline = g_strndup(machine->kernel_cmdline, cmdline_size);
We could safely skip this part on !microvm, which I think might handle
the SEV case?
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, (continued)
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Tom Lendacky, 2023/02/07
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Jason A. Donenfeld, 2023/02/07
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Dov Murik, 2023/02/08
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Tom Lendacky, 2023/02/08
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Michael S. Tsirkin, 2023/02/08
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Jason A. Donenfeld, 2023/02/08
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Dov Murik, 2023/02/08
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Jason A. Donenfeld, 2023/02/08
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Dov Murik, 2023/02/08
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests,
Jason A. Donenfeld <=
- Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Dov Murik, 2023/02/08
Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Daniel P . Berrangé, 2023/02/08
Re: [PATCH] x86: Don't add RNG seed to Linux cmdline for SEV guests, Daniel P . Berrangé, 2023/02/08