Re: [PATCH v3 53/70] i386/tdx: setup a timer for the qio channel

2023-11-15 Thread Daniel P . Berrangé
On Wed, Nov 15, 2023 at 02:15:02AM -0500, Xiaoyao Li wrote: > From: Chenyi Qiang > > To avoid no response from QGS server, setup a timer for the transaction. > If timeout, make it an error and interrupt guest. Define the threshold of > time to 30s at present, maybe change to other value if not

[PATCH v3 53/70] i386/tdx: setup a timer for the qio channel

2023-11-14 Thread Xiaoyao Li
From: Chenyi Qiang To avoid no response from QGS server, setup a timer for the transaction. If timeout, make it an error and interrupt guest. Define the threshold of time to 30s at present, maybe change to other value if not appropriate. Extract the common cleanup code to make it more clear.