[libvirt] [PATCH] security: ignore disk opening failure of DAC driver.

Osier Yang jyang at redhat.com
Wed Mar 9 08:39:01 UTC 2011


Which blocks the domain booting up if one of the disks
can't be opened (e.g. doesn't exist).
---
 src/security/security_dac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/security/security_dac.c b/src/security/security_dac.c
index fba2d1d..8bb5bc9 100644
--- a/src/security/security_dac.c
+++ b/src/security/security_dac.c
@@ -182,7 +182,7 @@ virSecurityDACSetSecurityImageLabel(virSecurityManagerPtr mgr,

     return virDomainDiskDefForeachPath(disk,
                                        virSecurityManagerGetAllowDiskFormatProbing(mgr),
-                                       false,
+                                       true,
                                        virSecurityDACSetSecurityFileLabel,
                                        mgr);
 }
--
1.7.4




More information about the libvir-list mailing list