qemu: blockjob: Ensure that config disk source is identical when modifying it
qemu: blockjob: Ensure that config disk source is identical when modifying it

qemuBlockJobRewriteConfigDiskSource rewrites the disk source only
according to the 'target'. This means that if someone would change the
inactive config of the VM to refer to a different disk a block job would
rewrite it when finishing a job which modifies the disk source.

Make sure that this does not happen by verifying that the source of the
config disk is the same.

Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
ACKed-by: Eric Blake <a9da18479c871fe903d9590822cfe2629c6a4d11@redhat.com>

andreabolognani/libvirt,olafhering/libvirt,nertpinx/libvirt,jfehlig/libvirt,crobinso/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,crobinso/libvirt,nertpinx/libvirt,zippy2/libvirt,jardasgit/libvirt,jardasgit/libvirt,zippy2/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,crobinso/libvirt,nertpinx/libvirt,andreabolognani/libvirt,libvirt/libvirt,fabianfreyer/libvirt,olafhering/libvirt,olafhering/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,zippy2/libvirt,andreabolognani/libvirt,jardasgit/libvirt,andreabolognani/libvirt,crobinso/libvirt,libvirt/libvirt,zippy2/libvirt,fabianfreyer/libvirt,libvirt/libvirt,jfehlig/libvirt,libvirt/libvirt,olafhering/libvirt,jfehlig/libvirt,jardasgit/libvirt