[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:47:37 -0300 |
On Wed, Feb 8, 2023 at 12:26 PM Tom Lendacky <thomas.lendacky@amd.com> wrote:
> However, is the change to the DTB check appropriate?
Yes it is appropriate. The reason is that the first setup_data link is
already conditionalized on sev:
/*
* If we're starting an encrypted VM, it will be OVMF based, which uses the
* efi stub for booting and doesn't require any values to be placed in the
* kernel header. We therefore don't update the header so the hash of the
* kernel on the other side of the fw_cfg interface matches the hash of the
* file the user passed in.
*/
if (!sev_enabled() && first_setup_data) {
SetupDataFixup *fixup = g_malloc(sizeof(*fixup));
memcpy(setup, header, MIN(sizeof(header), setup_size));
/* Offset 0x250 is a pointer to the first setup_data link. */
- 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, Michael S. Tsirkin, 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, 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, Michael S. Tsirkin, 2023/02/08
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 <=
- 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, 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, 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