]> git.proxmox.com Git - qemu-server.git/commit
fix #2315: api: have resize endpoint spawn a worker task
authorFiona Ebner <f.ebner@proxmox.com>
Tue, 30 May 2023 13:52:04 +0000 (15:52 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Jun 2023 17:23:52 +0000 (19:23 +0200)
commit606d9d76b25c533f15d589d4927015c8e3d78a1b
tree02467dc3c5cb5a01a2ca45119a1dec14091f301a
parenta6f14ef49b48a73c69cb49d912b4dc357b62fb42
fix #2315: api: have resize endpoint spawn a worker task

Similar to the corresponding endpoint for containers. Because disks
are involved, this can be a longer running operation, as is also
indicated by the 60 seconds timeout used in qemu_block_resize() which
is called by this endpoint.

This is a breaking API change.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/API2/Qemu.pm