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>
bool dynamicOwnership = cfg->dynamicOwnership;
virSecurityLabelDef *seclabel;
- /* TODO: Take imagelabel into account? */
if (def &&
(seclabel = virDomainDefGetSecurityLabelDef(def, "dac")) != NULL &&
seclabel->label != NULL &&