On 5/4/20 12:58 PM, Stefan Reiter wrote:
> More API calls will follow for this path, for now add the 'index' call to
> list all custom and default CPU models.
> 
> Any user can list the default CPU models, as these are public anyway, but
> custom models are restricted to users with Sys.Audit on /nodes.
> 
> Signed-off-by: Stefan Reiter <s.rei...@proxmox.com>
> ---
>  PVE/API2/Qemu/CPU.pm        | 61 +++++++++++++++++++++++++++++++++++++
>  PVE/API2/Qemu/Makefile      |  2 +-
>  PVE/QemuServer/CPUConfig.pm | 30 ++++++++++++++++++
>  3 files changed, 92 insertions(+), 1 deletion(-)
>  create mode 100644 PVE/API2/Qemu/CPU.pm
> 

applied, thanks!

Albeit API call shouldn't say that it's return values are links to API sub
directory/paths if they ain't..

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to