Re: [PATCH] hw/i386/sgx: Use QDev API

2024-02-15 Thread Philippe Mathieu-Daudé
On 15/2/24 10:31, Michael Tokarev wrote: 13.02.2024 10:16, Philippe Mathieu-Daudé : Prefer the QDev API over the low level QOM one. No logical change intended. ...   /* set the numa node property for sgx epc object */ -    object_property_set_uint(obj, SGX_EPC_NUMA_NODE_PROP, list

Re: [PATCH] hw/i386/sgx: Use QDev API

2024-02-15 Thread Michael Tokarev
13.02.2024 10:16, Philippe Mathieu-Daudé : Prefer the QDev API over the low level QOM one. No logical change intended. ... /* set the numa node property for sgx epc object */ -object_property_set_uint(obj, SGX_EPC_NUMA_NODE_PROP, list->value->node, -

Re: [PATCH] hw/i386/sgx: Use QDev API

2024-02-15 Thread Michael Tokarev
13.02.2024 10:16, Philippe Mathieu-Daudé: Prefer the QDev API over the low level QOM one. No logical change intended. Reviewed-by: Michael Tokarev Picked up for trivial-patches. /mjt

[PATCH] hw/i386/sgx: Use QDev API

2024-02-12 Thread Philippe Mathieu-Daudé
Prefer the QDev API over the low level QOM one. No logical change intended. Signed-off-by: Philippe Mathieu-Daudé --- hw/i386/sgx.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/hw/i386/sgx.c b/hw/i386/sgx.c index 70305547d4..9176040f8f 100644 --- a/hw/i386/s