Re: [PATCH 1/1] x86/hyperv: Use Hyper-V entropy to seed guest random number generator

2024-03-08 Thread Wei Liu
On Wed, Mar 06, 2024 at 05:43:41PM +, Michael Kelley wrote: > From: wei@kernel.org @ 2024-03-04 6:57 UTC > > > > > +void __init ms_hyperv_late_init(void) > > > +{ > > > + struct acpi_table_header *header; > > > + acpi_status status; > > > + u8 *randomdata; > > > + u32 length, i; > > > + >

RE: [PATCH 1/1] x86/hyperv: Use Hyper-V entropy to seed guest random number generator

2024-03-06 Thread Michael Kelley
From: wei@kernel.org @ 2024-03-04 6:57 UTC > > > +void __init ms_hyperv_late_init(void) > > +{ > > + struct acpi_table_header *header; > > + acpi_status status; > > + u8 *randomdata; > > + u32 length, i; > > + > > + /* > > +* Seed the Linux random number generator with entropy p

Re: [PATCH 1/1] x86/hyperv: Use Hyper-V entropy to seed guest random number generator

2024-03-03 Thread Wei Liu
On Mon, Jan 22, 2024 at 08:00:03AM -0800, mhkelle...@gmail.com wrote: > From: Michael Kelley > > A Hyper-V host provides its guest VMs with entropy in a custom ACPI > table named "OEM0". The entropy bits are updated each time Hyper-V > boots the VM, and are suitable for seeding the Linux guest r

[PATCH 1/1] x86/hyperv: Use Hyper-V entropy to seed guest random number generator

2024-01-22 Thread mhkelley58
From: Michael Kelley A Hyper-V host provides its guest VMs with entropy in a custom ACPI table named "OEM0". The entropy bits are updated each time Hyper-V boots the VM, and are suitable for seeding the Linux guest random number generator (rng). See a brief description of OEM0 in [1]. Generati