commit | d154e0bafbd51bfd029ade9f1362bdff612b0f55 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Fri Jul 16 17:11:46 2010 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Jul 19 14:20:00 2010 +0300 |
tree | 4cd6ee80eb1ebc3212fc98f8e5f604d41c0420bf | |
parent | 55e8d1ce6b09300cc5f3adcd9a705156d168381d [diff] |
vhost: fix miration during device start We need to know ring layout to allocate log buffer. So init rings first. Also fixes a theoretical memory-leak-on-error. https://bugzilla.redhat.com/show_bug.cgi?id=615228 Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Gerd Hoffmann <kraxel@redhat.com>