qemu: Convert aborting of a domain job to a switch statement
qemu: Convert aborting of a domain job to a switch statement

Until now we only really aborted migration via qemuDomainAbortJob. This
will change with the upcoming addition of the backup job. Additionally
there were a bunch of if statements checking various aspects of the
current job.

To make it more obvious convert qemuDomainAbortJob to use a switch
statement and move the individual conditions to the appropriate job
type.

Every job type has now it's own case despite multiple job types just
plainly cancelling the job for clarity and future extension.

Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Reviewed-by: Jiri Denemark <62bdf77dc47919a4d59a91822129d14633cfca81@redhat.com>

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