]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
Fix/cleanup disk hotplug
authorDerumier Alexandre <aderumier@odiso.com>
Fri, 14 Oct 2011 08:14:11 +0000 (10:14 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 14 Oct 2011 08:20:05 +0000 (10:20 +0200)
commitf19d1c479029f45209f8f21c3d173442c19e64cc
tree9f397c299b9b4cf30c3cf80b750abd1d81acb97d
parent43779a7baa193c807e3f942ba9779f43653ba163
Fix/cleanup disk hotplug

- pass $conf to create_disks sub
- add some checks on results of "drive_del","drive_add","device_del","device_add"
- replace "sleep 2" by iterative sub vm_waitfordevicecleanup

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