qemu: blockcopy: Don't remove existing disk mirror info
authorPeter Krempa <pkrempa@redhat.com>
Wed, 25 Jun 2014 16:11:17 +0000 (18:11 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 26 Jun 2014 08:18:47 +0000 (10:18 +0200)
commit02b364e186d487f54ed410c01af042f23e812d42
tree45fa1e09a34df6eb23472d788b4443da1382b8f5
parent7dbfd124265feefefcac72b2202c7495d283ed3e
qemu: blockcopy: Don't remove existing disk mirror info

When creating a new disk mirror the new struct is stored in a separate
variable until everything went well. The removed hunk would actually
remove existing mirror information for example when the api would be run
if a mirror still exists.
src/qemu/qemu_driver.c