as parse_property_string expects it to.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Reviewed-by: Stefan Reiter <s.reiter@proxmox.com>
# required, but can't be forced in schema since it's encoded in section
# header for custom models
die "CPU is missing cputype\n" if !$cpu->{cputype};
# required, but can't be forced in schema since it's encoded in section
# header for custom models
die "CPU is missing cputype\n" if !$cpu->{cputype};
}
PVE::JSONSchema::register_format('pve-vm-cpu-conf', $cpu_fmt, \&validate_vm_cpu_conf);
sub validate_vm_cpu_conf {
}
PVE::JSONSchema::register_format('pve-vm-cpu-conf', $cpu_fmt, \&validate_vm_cpu_conf);
sub validate_vm_cpu_conf {