commit | c1bc66263c2360d5211ecd18191b0be65b3b54e5 | [log] [tgz] |
---|---|---|
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | Wed Dec 16 11:47:38 2015 +0000 |
committer | Amit Shah <amit.shah@redhat.com> | Wed Jan 13 16:03:01 2016 +0530 |
tree | 8b828297ede3c8ee4d1e6823a571b73b04b4dfc8 | |
parent | 063e760a5f52d9b82946956e7046828b524727af [diff] |
multithread decompression: Avoid one copy qemu_get_buffer does a copy, we can avoid the memcpy, and we can then remove the extra buffer. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Liang Li <liang.z.li@intel.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com> Message-Id: <1450266458-3178-7-git-send-email-dgilbert@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>