Go to file
Thomas Lamprecht 8ba8418ca1 API/create: move locking inside worker
Move the locking inside worker, so that the process doing the actual
work (create or restore) holds the lock, and can call functions which
do locking without deadlocking.

This mirrors the behaviour we use for containers, and allows to add
an 'autostart' parameter which starts the VM after successful
creation. vm_start needs the lock and as not the worker but it's
parents held it, it couldn't know that it was actually save to
continue...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-12 09:44:39 +02:00
debian bump version to 5.0-28 2018-06-11 12:55:33 +02:00
PVE API/create: move locking inside worker 2018-06-12 09:44:39 +02:00
test Add tests for parse_ovf function 2017-09-25 13:31:55 +02:00
.gitignore Add .gitignore 2018-05-30 13:55:39 +02:00
bootsplash.jpg add seabios bootsplash and use it 2016-09-08 12:22:01 +02:00
bootsplash.xcf add seabios bootsplash and use it 2016-09-08 12:22:01 +02:00
Makefile bump version to 5.0-28 2018-06-11 12:55:33 +02:00
modules-load.conf remove unnecessary init.d, postint, postrm and qmupdate scripts 2015-02-27 16:09:41 +01:00
pcitest.pl use warnings instead of global -w flag 2013-10-01 13:14:49 +02:00
pve-bridge fix #909: pass rate to tap_plug() 2016-03-08 15:52:31 +01:00
pve-bridge-hotplug pve-bridge-hotplug code deduplication 2015-11-14 10:34:22 +01:00
pve-bridgedown add pve-bridgedown script 2014-05-08 08:37:04 +02:00
pve-q35.cfg Add pci.3 to pve-q35.cfg required by virtio-scsi-single 2018-05-02 09:14:22 +02:00
pve-usb.cfg imported from svn 'qemu-server/pve2' 2011-08-23 07:47:04 +02:00
qm convert qmrestore into a PVE::CLI class 2015-10-05 13:10:24 +02:00
qmextract remove legacy sparsecp 2017-08-23 10:03:37 +02:00
qmrestore convert qmrestore into a PVE::CLI class 2015-10-05 13:10:24 +02:00