mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-05 02:05:03 +00:00
validate_cpu_conf: return config
as parse_property_string expects it to. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com> Reviewed-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
parent
a1cbe55cc7
commit
b2e813a6d5
@ -191,6 +191,8 @@ sub validate_cpu_conf {
|
||||
# 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};
|
||||
|
||||
return $cpu;
|
||||
}
|
||||
PVE::JSONSchema::register_format('pve-vm-cpu-conf', $cpu_fmt, \&validate_vm_cpu_conf);
|
||||
sub validate_vm_cpu_conf {
|
||||
|
Loading…
Reference in New Issue
Block a user