mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +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>
|
||||
|
||||
Generic APIs for network XML configuration
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user