[PATCH qemu-server v3 06/17] cpu: register standard option for CPU format

Arthur Bied-Charreton
2026-04-30T15:36:36Z

Expose $cpu_fmt as a standard option to allow using it in endpoint
definitions.

Signed-off-by: Arthur Bied-Charreton <a.bied-charreton@proxmox.com>
---
src/PVE/QemuServer/CPUConfig.pm | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/PVE/QemuServer/CPUConfig.pm b/src/PVE/QemuServer/CPUConfig.pm
index 65ced94f..78603acc 100644
--- a/src/PVE/QemuServer/CPUConfig.pm
+++ b/src/PVE/QemuServer/CPUConfig.pm
@@ -344,6 +344,7 @@ my $cpu_fmt = {
optional => 1,
},
};
+PVE::JSONSchema::register_standard_option('pve-qemu-cpu', $cpu_fmt);

my $sev_fmt = {
type => {
--
2.47.3