Re: [libvirt] [PATCH 19/21] qemu_hotplug: new function qemuDomainRemoveAuditDevice()

2019-03-22 Thread Laine Stump
On 3/22/19 8:24 AM, Peter Krempa wrote: On Thu, Mar 21, 2019 at 18:28:59 -0400, Laine Stump wrote: 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

Re: [libvirt] [PATCH 19/21] qemu_hotplug: new function qemuDomainRemoveAuditDevice()

2019-03-22 Thread Peter Krempa
On Thu, Mar 21, 2019 at 18:28:59 -0400, Laine Stump wrote: > 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

[libvirt] [PATCH 19/21] qemu_hotplug: new function qemuDomainRemoveAuditDevice()

2019-03-21 Thread Laine Stump
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