On 7/9/2025 2:58 PM, Daniel P. Berrangé wrote:
Could we rename "policy" to "attributes", or more precisely
"tdAttributes"? It's not intuitive for users to connect "policy" with
"TD attributes".
Will use "attributes" as QAPI exposes "attributes".
IMHO 'policy' is preferrable as it is consistent with terminology we
already use in SEV guests.

The only advantage we can get is that both SEV and TDX guest have a filed named "policy".

But the bits of it have entire different meaning for SEV and TDX. Nothing can be shared at all. So why not name it with different name, and people get they are different things.

I did actually request the same at the
QEMU level too, and missed that it got named 'attributes' in the
final merged code

Reply via email to