Re: [libvirt] [PATCH v2 10/14] qemu_hotplug: new function qemuDomainRemoveAuditDevice()

2019-03-26 Thread Laine Stump
On 3/26/19 12:58 PM, Ján Tomko wrote: On Mon, Mar 25, 2019 at 01:24:32PM -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 v2 10/14] qemu_hotplug: new function qemuDomainRemoveAuditDevice()

2019-03-26 Thread Ján Tomko
On Mon, Mar 25, 2019 at 01:24:32PM -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 do

Re: [libvirt] [PATCH v2 10/14] qemu_hotplug: new function qemuDomainRemoveAuditDevice()

2019-03-26 Thread Peter Krempa
On Mon, Mar 25, 2019 at 13:24:32 -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 v2 10/14] qemu_hotplug: new function qemuDomainRemoveAuditDevice()

2019-03-25 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