fix OpenVZ probe function

* src/openvz_driver.c: fix from Evgeniy Sokolov to the probe function
Daniel
This commit is contained in:
Daniel Veillard 2008-07-11 11:09:44 +00:00
parent 747fad6654
commit d678a6e88c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Fri Jul 11 13:08:13 CEST 2008 Daniel Veillard <veillard@redhat.com>
* src/openvz_driver.c: fix from Evgeniy Sokolov to the probe function
Fri Jul 11 11:35:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
Generic APIs for network XML configuration

View File

@ -599,7 +599,7 @@ static const char *openvzProbe(void)
{
#ifdef __linux__
if ((getuid() == 0) && (virFileExists("/proc/vz")))
return("openvz:///");
return("openvz:///system");
#endif
return(NULL);
}