[pve-devel] r5978 - qemu-server/pve2/PVE/API2

svn-commits at proxmox.com svn-commits at proxmox.com
Fri May 13 12:51:29 CEST 2011


Author: dietmar
Date: 2011-05-13 12:51:29 +0200 (Fri, 13 May 2011)
New Revision: 5978

Modified:
   qemu-server/pve2/PVE/API2/Qemu.pm
Log:


Modified: qemu-server/pve2/PVE/API2/Qemu.pm
===================================================================
--- qemu-server/pve2/PVE/API2/Qemu.pm	2011-05-13 10:06:22 UTC (rev 5977)
+++ qemu-server/pve2/PVE/API2/Qemu.pm	2011-05-13 10:51:29 UTC (rev 5978)
@@ -37,6 +37,7 @@
     method => 'GET',
     description => "Virtual machine index (per node).",
     proxyto => 'node',
+    protected => 1, # qemu pid files are only readable by root
     parameters => {
     	additionalProperties => 0,
 	properties => {
@@ -532,6 +533,7 @@
     path => '{vmid}/status',
     method => 'GET',
     proxyto => 'node',
+    protected => 1, # qemu pid files are only readable by root
     description => "Get virtual machine status.",
     parameters => {
     	additionalProperties => 0,




More information about the pve-devel mailing list