]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen/xen-hvm-common: Use g_new and error_report
authorVikram Garhwal <vikram.garhwal@amd.com>
Tue, 31 Jan 2023 22:51:46 +0000 (14:51 -0800)
committerStefano Stabellini <stefano.stabellini@amd.com>
Tue, 14 Feb 2023 23:39:25 +0000 (15:39 -0800)
commita9706153b4b16e740cf268f7d6939d97b274da7b
treee163be0f8bdc1b90caf8da2794ec5756374dee91
parentdd7aa6f5dc164601e6e1aa9af9536fe4af96a72b
hw/xen/xen-hvm-common: Use g_new and error_report

Replace g_malloc with g_new and perror with error_report.

Signed-off-by: Vikram Garhwal <vikram.garhwal@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/xen/xen-hvm-common.c