mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
fix OpenVZ probe function
* src/openvz_driver.c: fix from Evgeniy Sokolov to the probe function Daniel
This commit is contained in:
parent
747fad6654
commit
d678a6e88c
@ -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>
|
Fri Jul 11 11:35:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
Generic APIs for network XML configuration
|
Generic APIs for network XML configuration
|
||||||
|
@ -599,7 +599,7 @@ static const char *openvzProbe(void)
|
|||||||
{
|
{
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
if ((getuid() == 0) && (virFileExists("/proc/vz")))
|
if ((getuid() == 0) && (virFileExists("/proc/vz")))
|
||||||
return("openvz:///");
|
return("openvz:///system");
|
||||||
#endif
|
#endif
|
||||||
return(NULL);
|
return(NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user