public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH manager/qemu-server 0/3] custom cpu models: tighten reported-model handling
@ 2026-05-19 14:06 Arthur Bied-Charreton
  2026-05-19 14:06 ` [PATCH pve-manager 1/3] custom cpu models: make 'reported-model' required in POST Arthur Bied-Charreton
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Arthur Bied-Charreton @ 2026-05-19 14:06 UTC (permalink / raw)
  To: pve-devel

The default reported-model for custom CPU models is kvm64, a legacy
model with a limited set of features.

This series tightens the handling around reported-model:

1. Require reported-model on creation via the API, as the UI already
   does
2. Prevent deletion of reported-model via PUT
3. Resolve and write out the default explicitly on config writes

This will be useful in case we ever want to make reported-model
required in a future major release.


pve-manager:

Arthur Bied-Charreton (2):
  custom cpu models: make 'reported-model' required in POST
  custom cpu models: do not allow deleting 'reported-model'

 PVE/API2/Cluster/Qemu/CustomCPUModels.pm |  5 +++++
 test/CustomCPUModels_test.pl             | 19 +++++++++++++------
 2 files changed, 18 insertions(+), 6 deletions(-)


qemu-server:

Arthur Bied-Charreton (1):
  cpu config: resolve default reported-model on write

 src/PVE/QemuServer/CPUConfig.pm | 2 ++
 1 file changed, 2 insertions(+)


Summary over all repositories:
  3 files changed, 20 insertions(+), 6 deletions(-)

-- 
Generated by murpp 0.11.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-05-19 20:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 14:06 [PATCH manager/qemu-server 0/3] custom cpu models: tighten reported-model handling Arthur Bied-Charreton
2026-05-19 14:06 ` [PATCH pve-manager 1/3] custom cpu models: make 'reported-model' required in POST Arthur Bied-Charreton
2026-05-19 14:06 ` [PATCH pve-manager 2/3] custom cpu models: do not allow deleting 'reported-model' Arthur Bied-Charreton
2026-05-19 14:06 ` [PATCH qemu-server 3/3] cpu config: resolve default reported-model on write Arthur Bied-Charreton
2026-05-19 14:50 ` [PATCH manager/qemu-server 0/3] custom cpu models: tighten reported-model handling Fiona Ebner
2026-05-19 19:17 ` applied: " Thomas Lamprecht
2026-05-19 20:17 ` Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal