qemu_hotplug: new function qemuDomainRemoveAuditDevice()
qemu_hotplug: new function qemuDomainRemoveAuditDevice()

This function can be called with a virDomainDevicePtr and whether or
not the removal was successful, and it will call the appropriate
virDomainAudit*() function with the appropriate args for whatever type
of device it's given (or do nothing, if that's appropriate). This
permits generalizing some code that currently has a separate copy for
each type of device.

NB: Although the function initially will be called only with
success=false, that has been made an argument so that in the future
(when the qemuDomainRemove*Device() functions have had their common
functionality consolidated into qemuDomainRemoveDevice()), this new
common code can call qemuDomainRemoveAuditDevice() for all types.

Signed-off-by: Laine Stump <c23361c43fbf79fed83e8b76173707b083d6caf5@laine.org>
ACKed-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>

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