提交 43ca0c54 编写于 作者: P Peter Krempa

conf: audit: rng: Reorder new and old RNG device definitions

The audit functions usually take the old definition before the new one
in the argument list. Unify RNG device to use the same order.
上级 ea43f5f9
......@@ -138,7 +138,7 @@ virDomainAuditDisk(virDomainObjPtr vm,
static void
virDomainAuditRNG(virDomainObjPtr vm,
virDomainRNGDefPtr newDef, virDomainRNGDefPtr oldDef,
virDomainRNGDefPtr oldDef, virDomainRNGDefPtr newDef,
const char *reason, bool success)
{
char uuidstr[VIR_UUID_STRING_BUFLEN];
......@@ -827,7 +827,7 @@ virDomainAuditStart(virDomainObjPtr vm, const char *reason, bool success)
}
if (vm->def->rng)
virDomainAuditRNG(vm, vm->def->rng, NULL, "start", true);
virDomainAuditRNG(vm, NULL, vm->def->rng, "start", true);
if (vm->def->tpm)
virDomainAuditTPM(vm, vm->def->tpm, "start", true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册