mirror of https://gitee.com/openkylin/libvirt.git
Update VIRT_CONTROL audit record with pid.
Added a new field "vm-pid" to the VIRT_CONTROL audit record. This information is useful to correlated another audit events to the events generated by libvirt.
This commit is contained in:
parent
7033c5f20d
commit
98b01e8f2b
1
AUTHORS
1
AUTHORS
|
@ -218,6 +218,7 @@ Patches have also been contributed by:
|
|||
Martin Kletzander <mkletzan@redhat.com>
|
||||
Laszlo Ersek <lersek@redhat.com>
|
||||
Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
|
||||
Marcelo Cerri <mhcerri@linux.vnet.ibm.com>
|
||||
|
||||
[....send patches to get your name here....]
|
||||
|
||||
|
|
|
@ -562,8 +562,8 @@ virDomainAuditLifecycle(virDomainObjPtr vm, const char *op,
|
|||
}
|
||||
|
||||
VIR_AUDIT(VIR_AUDIT_RECORD_MACHINE_CONTROL, success,
|
||||
"virt=%s op=%s reason=%s %s uuid=%s",
|
||||
virt, op, reason, vmname, uuidstr);
|
||||
"virt=%s op=%s reason=%s %s uuid=%s vm-pid=%d",
|
||||
virt, op, reason, vmname, uuidstr, vm->pid);
|
||||
|
||||
VIR_FREE(vmname);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue