ram: Everything was init to zero, so use memset
commitceb4d16898549e5b7d9123b830907de8908fca9d
authorJuan Quintela <quintela@redhat.com>
Mon, 13 Mar 2017 20:29:54 +0000 (13 21:29 +0100)
committerJuan Quintela <quintela@redhat.com>
Fri, 21 Apr 2017 10:25:37 +0000 (21 12:25 +0200)
tree6250f804243c51290a2a232a2db370e103616fea
parent0d8ec885ed899d20b14eb8a19544ad66f04937bc
ram: Everything was init to zero, so use memset

And then init only things that are not zero by default.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
migration/ram.c