[pve-devel] r5457 - qemu-server/pve2

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Jan 28 06:36:42 CET 2011


Author: dietmar
Date: 2011-01-28 06:36:42 +0100 (Fri, 28 Jan 2011)
New Revision: 5457

Modified:
   qemu-server/pve2/qm
Log:
initialize PVE::Cluster class


Modified: qemu-server/pve2/qm
===================================================================
--- qemu-server/pve2/qm	2011-01-28 05:35:55 UTC (rev 5456)
+++ qemu-server/pve2/qm	2011-01-28 05:36:42 UTC (rev 5457)
@@ -8,6 +8,8 @@
 use IO::Select;
 
 use PVE::Tools qw(extract_param);
+use PVE::Cluster;
+use PVE::SafeSyslog;
 use PVE::INotify qw(read_file);
 use PVE::RPCEnvironment;
 use PVE::QemuServer;
@@ -22,9 +24,12 @@
 
 $ENV{'PATH'} = '/sbin:/bin:/usr/sbin:/usr/bin';
 
+initlog('qm');
+
 die "please run as root\n" if $> != 0;
 
 PVE::INotify::inotify_init();
+PVE::Cluster::cfs_update();
 
 my $rpcenv = PVE::RPCEnvironment->init('cli');
 




More information about the pve-devel mailing list