mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
target/s390x: support PRNO_TRNG instruction
In order for hosts running inside of TCG to initialize the kernel's random number generator, we should support the PRNO_TRNG instruction, backed in the usual way with the qemu_guest_getrandom helper. This is confirmed working on Linux 5.19. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Message-Id: <20220921100729.2942008-2-Jason@zx2c4.com> Reviewed-by: David Hildenbrand <david@redhat.com> [thuth: turn prno-trng off in avocado test to avoid breaking it] Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
9f17bfdab4
commit
3dbc5fdacb
3 changed files with 32 additions and 0 deletions
|
@ -757,6 +757,7 @@ static uint16_t qemu_MAX[] = {
|
|||
S390_FEAT_MSA_EXT_5,
|
||||
S390_FEAT_KIMD_SHA_512,
|
||||
S390_FEAT_KLMD_SHA_512,
|
||||
S390_FEAT_PRNO_TRNG,
|
||||
};
|
||||
|
||||
/****** END FEATURE DEFS ******/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue