Re: [PATCH v3 3/4] virt: tdx-guest: Use a variable to store the Quote buffer size

From: Xiaoyao Li

Date: Thu Sep 03 2026 - 02:02:35 EST


On 9/3/2026 7:15 AM, Peter Fang wrote:
> You are also dropping PAGE_ALIGN() in alloc and free calls. You can
> mention it in commit log.

I think it's better to keep the PAGE_ALIGN() when assign quote_data_len,
although GET_QUOTE_BUF_SIZE is aligned already. This makes it super clear
we want to page size align the buffer.

And in next patch, we can make it

quote_data_len = PAGE_ALIGN(get_quote_buf_size());