[pve-devel] [PATCH 0/6] Custom CPU models API/GUI basics

Stefan Reiter s.reiter at proxmox.com
Wed Apr 22 15:39:04 CEST 2020


Permission handling, the beginnings of the API and getting the GUI to play nice
with custom models (no editor yet, but it'll behave as expected if a determined
user creates a custom model by editing the config).

First 3 patches are API stuff, 4 is an independent UI fix/cleanup, rest are new
GUI stuff.


qemu-server: Stefan Reiter (2):
  api: check Sys.Audit permissions when setting a custom CPU model
  api: allow listing custom and default CPU models

 PVE/API2/Qemu.pm            | 25 +++++++++++++++
 PVE/API2/Qemu/CPU.pm        | 61 +++++++++++++++++++++++++++++++++++++
 PVE/API2/Qemu/Makefile      |  2 +-
 PVE/QemuServer/CPUConfig.pm | 30 ++++++++++++++++++
 4 files changed, 117 insertions(+), 1 deletion(-)
 create mode 100644 PVE/API2/Qemu/CPU.pm

manager: Stefan Reiter (4):
  api: register /nodes/X/cpu call for CPU models
  ui: ProcessorEdit: fix total core calculation and use view model
  ui: CPUModelSelector: use API call for store
  ui: ProcessorEdit: allow modifications with inaccessible CPU model

 PVE/API2/Nodes.pm                     |   7 +
 www/manager6/form/CPUModelSelector.js | 221 ++++++++++----------------
 www/manager6/qemu/ProcessorEdit.js    | 108 ++++++++++---
 3 files changed, 170 insertions(+), 166 deletions(-)

-- 
2.26.2




More information about the pve-devel mailing list