qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 08/14] util: Add qemu_getrandom and support f


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v2 08/14] util: Add qemu_getrandom and support functions
Date: Thu, 14 Mar 2019 09:18:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 3/14/19 8:57 AM, Daniel P. Berrangé wrote:
>> @@ -2070,6 +2078,7 @@ void qemu_init_vcpu(CPUState *cpu)
>>      cpu->nr_cores = smp_cores;
>>      cpu->nr_threads = smp_threads;
>>      cpu->stopped = true;
>> +    cpu->random_seed = qemu_seedrandom_thread_part1();
>>  
>>      if (!cpu->as) {
>>          /* If the target cpu hasn't set up any address spaces itself,
> It isn't clear that we should be needing these seeds in anything
> other than the TCG codepath.
> 

It's still possible to want to debug a program running under KVM.

And while it was threaded into the v1 series this morning, I believe the
hw/misc/ RNG devices should use the new interface, which would enable that
debugging.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]