[libvirt] [PATCH] default URI in probe

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

 



I specified default URI in probe().

To use libvirt with OpenVZ:
# ./configure --with-openvz
# make
# ./src/virsh list
 Id Name                 State
----------------------------------
 33 33                   running
105 105                  running
108 108                  running


Index: src/openvz_driver.c
===================================================================
RCS file: /data/cvs/libvirt/src/openvz_driver.c,v
retrieving revision 1.27
diff -u -r1.27 openvz_driver.c
--- src/openvz_driver.c	10 Jul 2008 12:21:09 -0000	1.27
+++ src/openvz_driver.c	11 Jul 2008 10:28:59 -0000
@@ -599,7 +599,7 @@
 {
 #ifdef __linux__
     if ((getuid() == 0) && (virFileExists("/proc/vz")))
-        return("openvz:///");
+        return("openvz:///system");
 #endif
     return(NULL);
 }
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[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]