Re: [QEMU][PATCH v5 07/10] hw/xen/xen-hvm-common: Use g_new and error_report

2023-02-01 Thread Paul Durrant
On 31/01/2023 22:51, Vikram Garhwal wrote: Replace g_malloc with g_new and perror with error_report. Signed-off-by: Vikram Garhwal Reviewed-by: Stefano Stabellini --- hw/xen/xen-hvm-common.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Reviewed-by: Paul Durrant

[QEMU][PATCH v5 07/10] hw/xen/xen-hvm-common: Use g_new and error_report

2023-01-31 Thread Vikram Garhwal
Replace g_malloc with g_new and perror with error_report. Signed-off-by: Vikram Garhwal Reviewed-by: Stefano Stabellini --- hw/xen/xen-hvm-common.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hw/xen/xen-hvm-common.c b/hw/xen/xen-hvm-common.c index 5e3c7b073f