5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-03 01:17:49 +03:00
pve-docs/gen-cpu-models.conf.5-opts.pl
Stefan Reiter 9e797d8c2c Add man-page and notes about custom CPU models
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2020-07-13 12:04:38 +02:00

15 lines
316 B
Perl
Executable File

#!/usr/bin/perl
use lib '.';
use strict;
use warnings;
use PVE::RESTHandler;
use PVE::QemuServer::CPUConfig;
my $prop = PVE::QemuServer::CPUConfig::add_cpu_json_properties({});
# cputype is given as section header and explained seperately
delete $prop->{cputype};
print PVE::RESTHandler::dump_properties($prop);