]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
suspend to disk: check more permissions
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 9 Dec 2019 14:26:59 +0000 (15:26 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 11 Dec 2019 08:02:55 +0000 (09:02 +0100)
commit75c24bba0a520f310fa9a70a19a11dbc3281f1fa
treed9f7bbcbf919f39f167888f9068c46237da4d010
parent66cebc467127f78ef97859d0d2d0f781fb76d2c1
suspend to disk: check more permissions

only VM.PowerMgmt is not enough, since we allocate space on a storage,
so we need VM.Config.Disk on the vm and Datastore.AllocateSpace on the storage

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Qemu.pm
PVE/QemuServer.pm