commit | c51d8fca0ce368c707fd090e0324f3ba40931d0a | [log] [tgz] |
---|---|---|
author | Wei Wang <wei.w.wang@intel.com> | Thu Aug 16 15:50:57 2018 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Aug 22 00:56:24 2018 +0300 |
tree | 174ba8c98a68e0138f53299f40d600d9e0ff94c8 | |
parent | 74cf5b169c4c197a8c66feaf1a98bb009fa306f8 [diff] |
virtio-balloon: kzalloc the vb struct Zero all the vb fields at alloaction, so that we don't need to zero-initialize each field one by one later. Signed-off-by: Wei Wang <wei.w.wang@intel.com> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>