diff options
| author | David Hildenbrand <david@redhat.com> | 2024-02-14 16:16:54 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2024-03-12 17:56:55 -0400 |
| commit | c6f90b785291389168b15fe797788bcbb5a7803a (patch) | |
| tree | 395dd9d4f41d0f9cbaec77ca4d4c16a03af9191a /hw/core/qdev-properties-system.c | |
| parent | 4f865c3b15a71dbeae999a10256742751410394e (diff) | |
| download | focaccia-qemu-c6f90b785291389168b15fe797788bcbb5a7803a.tar.gz focaccia-qemu-c6f90b785291389168b15fe797788bcbb5a7803a.zip | |
libvhost-user: Don't zero out memory for memory regions
dev->nregions always covers only valid entries. Stop zeroing out other array elements that are unused. Reviewed-by: Raphael Norwitz <raphael@enfabrica.net> Acked-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20240214151701.29906-8-david@redhat.com> Tested-by: Mario Casquero <mcasquer@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions