[pve-devel] [PATCH qemu-server follow-up] schema: move 'pve-targetstorage' to pve-common
Fabian Ebner
f.ebner at proxmox.com
Fri Feb 11 12:31:32 CET 2022
Am 11.02.22 um 11:38 schrieb Fabian Grünbichler:
> for proper re-use in pve-container.
>
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
>
> Notes:
> requires dependency on bumped libpve-common-perl
>
Tricky to build, but FWIW, both patches:
Reviewed-by: Fabian Ebner <f.ebner at proxmox.com>
> PVE/QemuServer.pm | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
> index e703cee9..2228fe87 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -119,13 +119,6 @@ PVE::JSONSchema::register_standard_option('pve-qemu-machine', {
> optional => 1,
> });
>
> -PVE::JSONSchema::register_standard_option('pve-targetstorage', {
> - description => "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
> - type => 'string',
> - format => 'storage-pair-list',
> - optional => 1,
> -});
> -
> #no warnings 'redefine';
>
> my $nodename_cache;
More information about the pve-devel
mailing list