qemu-server/PVE/QemuServer
Stefan Reiter c4581b9cc5 Rework get_cpu_options and allow custom CPU models
If a cputype is custom (check via prefix), try to load options from the
custom CPU model config, and set values accordingly.

While at it, extract currently hardcoded values into seperate sub and add
reasonings.

Since the new flag resolving outputs flags in sorted order for
consistency, adapt the test cases to not break. Only the order is
changed, not which flags are present.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Reviewed-By: Fabian Ebner <f.ebner@proxmox.com>
Tested-By: Fabian Ebner <f.ebner@proxmox.com>
2020-04-07 17:27:58 +02:00
..
Agent.pm fix #2612: allow input-data in guest exec and make command optional 2020-03-03 14:34:02 +01:00
Cloudinit.pm cloudinit: make genisoimage only output errors 2020-03-10 14:50:39 +01:00
CPUConfig.pm Rework get_cpu_options and allow custom CPU models 2020-04-07 17:27:58 +02:00
Drive.pm Add unused description to drivedesc_hash 2020-03-23 09:58:30 +01:00
Helpers.pm add new helper to calculate timeout based on vm config 2020-01-15 17:36:16 +01:00
ImportDisk.pm qm importdisk: tell user to what VM disk we actually imported 2019-10-29 19:11:21 +01:00
Machine.pm version_guard scsi drive count 2020-02-12 10:32:57 +01:00
Makefile Create Drive.pm and move drive-related code there 2020-03-07 18:23:57 +01:00
Memory.pm Die on misaligned memory for hotplugging 2020-03-19 18:55:27 +01:00
Monitor.pm mon_cmd: add explicit return 2019-11-30 17:24:55 +01:00
OVF.pm Initial support for importing OVF virtual machines 2017-09-25 13:31:55 +02:00
PCI.pm fix #2264: add virtio-rng device 2020-03-06 18:09:04 +01:00
USB.pm usb: Add USB3 capabilities to Spice USB devices 2019-09-21 13:22:17 +02:00