[PATCH] ch: set shared drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We want to use those shared drivers provided by libvirt to avoid
implementing our own.

Signed-off-by: Wei Liu <liuwe@xxxxxxxxxxxxx>
---
 src/ch/ch_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c
index 7d1e97098aef..f1f88ad30cf5 100644
--- a/src/ch/ch_driver.c
+++ b/src/ch/ch_driver.c
@@ -922,7 +922,7 @@ static virStateDriver chStateDriver = {
 
 int chRegister(void)
 {
-    if (virRegisterConnectDriver(&chConnectDriver, false) < 0)
+    if (virRegisterConnectDriver(&chConnectDriver, true) < 0)
         return -1;
     if (virRegisterStateDriver(&chStateDriver) < 0)
         return -1;
-- 
2.30.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux