qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v6 09/60] i386/tdx: Initialize TDX before creating TD vcpus


From: Tony Lindgren
Subject: Re: [PATCH v6 09/60] i386/tdx: Initialize TDX before creating TD vcpus
Date: Wed, 15 Jan 2025 14:12:20 +0200

On Tue, Jan 14, 2025 at 08:39:37PM +0800, Xiaoyao Li wrote:
> On 12/17/2024 9:10 PM, Tony Lindgren wrote:
> > Hmm I don't think we should loop forever anywhere, the retries needed should
> > be only a few. Or what do you have in mind?
> 
> "A few" seems not accurate. It depends on how heavy the RDRAND/RDSEED
> traffic from others are. IIRC, it gets > 10 0000 -EAGAIN before success when
> all the LPs in the system are doing RDRAND/RDSEED.

Oh OK :)

> Maybe a timeout? E.g., QEMU exits when it cannot move forward for a certain
> period.
> 
> However, I'm not sure what value is reasonable for the timeout.

Maybe some reasonable timeout could be multiplied by the number of CPUs
or LPs available on the system?

Regards,

Tony



reply via email to

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