hw/block/fdc: floppy command FIFO memory initialization
commit6653d1318d623681fc7e849e9ae5069ad144864a
authorAndrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Wed, 29 May 2019 18:20:27 +0000 (29 21:20 +0300)
committerMax Reitz <mreitz@redhat.com>
Fri, 14 Jun 2019 12:16:57 +0000 (14 14:16 +0200)
tree9cc14b6fb6f5c51c85558ab4012951501ec9d3bd
parentd9efe9384ecb68dcb971b439099e9bead653f96b
hw/block/fdc: floppy command FIFO memory initialization

The uninitialized memory allocated for the command FIFO of the
floppy controller during the VM hardware initialization incurs
many unwanted reports by Valgrind when VM state is being saved.
That verbosity hardens a search for the real memory issues when
the iotests run. Particularly, the patch eliminates 20 unnecessary
reports of the Valgrind tool in the iotest #169.

Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Message-id: 1559154027-282547-1-git-send-email-andrey.shinkevich@virtuozzo.com
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
hw/block/fdc.c