summaryrefslogtreecommitdiffstats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-09-25 16:37:20 +0200
committerKevin Wolf <kwolf@redhat.com>2013-09-27 17:22:43 +0200
commitbe0b742ee320d1139d57062fa18490e7aa485f2a (patch)
tree10f9e2198f289445546553a20f1c4f2f63fd6861 /hw/net/virtio-net.c
parent8585afd8133eed037dde9c14106e7eb8d7c46968 (diff)
downloadhqemu-be0b742ee320d1139d57062fa18490e7aa485f2a.zip
hqemu-be0b742ee320d1139d57062fa18490e7aa485f2a.tar.gz
qcow2: Always use error path in l2_allocate
Just returning -errno in some cases prevents trace_qcow2_l2_allocate_done from being executed (and, in one case, also the unused allocated L2 table from being freed). Always going down the error path fixes this. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud