]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security_manager: Remove redundant qemuSecurityGetNested() call
authorhongmianquan <hongmianquan@bytedance.com>
Fri, 5 Jul 2024 08:01:58 +0000 (16:01 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 9 Jul 2024 11:24:57 +0000 (13:24 +0200)
commit0d3e962d47470165b28f742704385acefd70327e
tree5f5537c0f34b1b5e466344141263612adda689a8
parent790b4d80672797f6f08453f00d22901a7178faf4
security_manager: Remove redundant qemuSecurityGetNested() call

This commit removes the redundant call to qemuSecurityGetNested() in
qemuStateInitialize(). In qemuSecurityGetModel(), the first security manager
in the stack is already used by default, so this change helps to
simplify the code.

Signed-off-by: hongmianquan <hongmianquan@bytedance.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c