ide: Initialise buffers with zeros
authorKevin Wolf <kwolf@redhat.com>
Mon, 4 Jul 2011 12:43:58 +0000 (14:43 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 5 Jul 2011 09:23:43 +0000 (11:23 +0200)
commitc925400ba83bd57bf560e071f400012248f1644a
tree84971e38b8c5f5c212f6cfb35fe46e14e0f972c7
parent40c4ed3f95f0b2ffa0848df0fc311556bb7472a1
ide: Initialise buffers with zeros

Just in case there's still a way how a guest can read out buffers when it's not
supposed to, let's zero the buffers during initialisation so that we don't leak
information to the guest.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
hw/ide/core.c