]> git.proxmox.com Git - qemu-server.git/commit - PVE/API2/Qemu.pm
check if volume exist on volume update.
authorAlexandre Derumier <aderumier@odiso.com>
Sat, 23 Jun 2012 07:07:32 +0000 (09:07 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 25 Jun 2012 04:51:17 +0000 (06:51 +0200)
commit35cb731c42a752a102b06b178246c14808a6f481
treea29ffd2fce7aafc8723177d07387dc2967e28af5
parent97d62eb73cb68e5d9e3f556a9230cef44eaab994
check if volume exist on volume update.

for the moment we check only if the real path exist on the host.
This doesn't work for "virtual" device that host doesn't see.(like rbd, virtio-scsi,...).

This add a check if the volid exist in the storage.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/API2/Qemu.pm