提交 d678a6e8 编写于 作者: D Daniel Veillard

fix OpenVZ probe function

* src/openvz_driver.c: fix from Evgeniy Sokolov to the probe function
Daniel
上级 747fad66
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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册