qemu-e2k/hw/block
Olaf Hering a3fd781f65 xen-disk: use g_new0 to fix build
g_malloc0_n is available since glib-2.24. To allow build with older glib
versions use the generic g_new0, which is already used in many other
places in the code.

Fixes commit 3284fad728 ("xen-disk: add support for multi-page shared rings")

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
2017-09-20 19:05:26 -07:00
..
dataplane
block.c
cdrom.c
ecc.c
fdc.c hw/block/fdc: Convert to realize 2017-09-18 19:43:38 -04:00
hd-geometry.c
m25p80.c
Makefile.objs
nand.c
nvme.c nvme: Fix get/set number of queues feature, again 2017-08-29 16:54:40 +01:00
nvme.h
onenand.c
pflash_cfi01.c
pflash_cfi02.c
tc58128.c
trace-events
virtio-blk.c scsi: move block/scsi.h to include/scsi/constants.h 2017-09-19 14:09:31 +02:00
xen_blkif.h
xen_disk.c xen-disk: use g_new0 to fix build 2017-09-20 19:05:26 -07:00