summaryrefslogtreecommitdiffstats
path: root/cpus.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-10-22 14:09:34 +0200
committerKevin Wolf <kwolf@redhat.com>2014-10-23 15:34:01 +0200
commitad27390c85c50df402c7ec0d3864fc43e6559fb3 (patch)
tree23ae91d9c1dfe2af3d9983da4cb3a3542646044a /cpus.c
parent713d9675e0e31c627d08b6a33d3a92e4b8505b40 (diff)
downloadhqemu-ad27390c85c50df402c7ec0d3864fc43e6559fb3.zip
hqemu-ad27390c85c50df402c7ec0d3864fc43e6559fb3.tar.gz
qcow2: Split fail code in L1 and L2 checks
Instead of printing out an error message, incrementing check_errors and returning a fixed -errno, just do cleanups and return -ret, with ret set by the code which threw the exception (jumped to the fail label). Also, increment check_errors on error in check_refcounts_l2(). Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud