]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: remove qemuDomainOpenFile() TODO comment
authorCole Robinson <crobinso@redhat.com>
Tue, 31 Mar 2026 15:39:58 +0000 (11:39 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 7 Apr 2026 23:30:32 +0000 (19:30 -0400)
qemuDomainOpenFile() only acts on the 'dac' driver, where 'label'
and 'imagelabel' are always identical (see virSecurityDACGenLabel()).
So there's nothing TODO here

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_domain.c

index f494c6469bb63321fb8d459201da8e92cad5872f..91d57ee60b0fa48c5cf9aa34097a05ece19f01ce 100644 (file)
@@ -10690,7 +10690,6 @@ qemuDomainOpenFile(virQEMUDriverConfig *cfg,
     bool dynamicOwnership = cfg->dynamicOwnership;
     virSecurityLabelDef *seclabel;
 
-    /* TODO: Take imagelabel into account? */
     if (def &&
         (seclabel = virDomainDefGetSecurityLabelDef(def, "dac")) != NULL &&
         seclabel->label != NULL &&