mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 20:51:26 +00:00
audit: Audit number of iothreads at domain startup
If the domain has IOThreads defined, then audit the number started at domain startup time. Signed-off-by: Luyao Huang <lhuang@redhat.com>
This commit is contained in:
parent
2db6a44798
commit
038a03c7a7
@ -885,6 +885,8 @@ virDomainAuditStart(virDomainObjPtr vm, const char *reason, bool success)
|
|||||||
|
|
||||||
virDomainAuditMemory(vm, 0, vm->def->mem.cur_balloon, "start", true);
|
virDomainAuditMemory(vm, 0, vm->def->mem.cur_balloon, "start", true);
|
||||||
virDomainAuditVcpu(vm, 0, vm->def->vcpus, "start", true);
|
virDomainAuditVcpu(vm, 0, vm->def->vcpus, "start", true);
|
||||||
|
if (vm->def->iothreads)
|
||||||
|
virDomainAuditIOThread(vm, 0, vm->def->iothreads, "start", true);
|
||||||
|
|
||||||
virDomainAuditLifecycle(vm, "start", reason, success);
|
virDomainAuditLifecycle(vm, "start", reason, success);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user