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

Stefan Reiter s.reiter at proxmox.com
Mon May 4 12:58:37 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.

v1 -> v2:
* fix things noted in Dominik's review (see notes on patches)


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/Utils.js                 |  14 ++
 www/manager6/form/CPUModelSelector.js | 209 +++++++++-----------------
 www/manager6/qemu/ProcessorEdit.js    | 104 +++++++++----
 4 files changed, 168 insertions(+), 166 deletions(-)

-- 
2.20.1




More information about the pve-devel mailing list