commit | d3febddde9c7a959dbb189a700e937db50fad4d6 | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Tue Aug 25 17:05:46 2015 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 01 15:06:29 2015 +0200 |
tree | 9869821f4df76e998a9b9c83cf8354a1b6e52cba | |
parent | 1c1a9ce973a7863dd46767226bce2a5f12d48bc6 [diff] |
kvm: use kmalloc() instead of kzalloc() during iodev register/unregister All fields of kvm_io_range were initialized or copied explicitly afterwards. So switch to use kmalloc(). Cc: Gleb Natapov <gleb@kernel.org> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>