]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer/Drive.pm
schema: drive: use separate schema when disk allocation is possible
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 17 Mar 2022 11:31:04 +0000 (12:31 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 4 Apr 2022 14:41:13 +0000 (16:41 +0200)
commitc1accf9db9a2c8c2f60c16ca959fd8fe20a08f60
tree68250a8d7ac9c375ed7f6d1792bb4eba2e8423a3
parent39051ac0dfb5773ef3aab86fdffefbe882d715c8
schema: drive: use separate schema when disk allocation is possible

via the special syntax <storeid>:<size>.

Not worth it by itself, but this is anticipating a new 'import-from'
parameter which is only used upon import/allocation, but shouldn't be
part of the schema for the config or other API enpoints.

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