]> 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>
Fri, 10 Feb 2023 22:23:47 +0000 (14:23 -0800)
commit60e88093d58325befbd758d65f5993b0cc98749e
treed6e6b1bed2efd165db949cf2f5341c04c1a425a6
parentd783f331471a185a267490f5fea2a8d135b469b5
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