Hi Gary, Lukas had the same requirement and already opened an issue / feature request for it https://github.com/apache/cloudstack/issues/7600 Best regards, Stephan
> Gary Dixon <gary.di...@quadris.co.uk.invalid> hat am 14.07.2023 12:14 CEST > geschrieben: > > > > Hi all > > > > > > ACS 4.15.2 > > KVM on Ubuntu 20.04 > > > > > > We have a requirement that whenever a VM is deployed from a specific template > (a Netscaler appliance) that it must over-ride the agent properties guest cpu > mode = host-passthrough with a specific CPU model like so : > > > > Currently the VM gets deployed with these CPU parameters from the KVM host > agent config: > > > > > <cpu mode='host-passthrough' check='none'> > > <topology sockets='1' cores='4' threads='1'/> > > </cpu> > > > > And we want to over-ride with this CPU config: > > > > <cpu mode='custom' match='exact' check='full'> > > <model fallback='forbid'>EPYC-Rome</model> > > <topology sockets='1' cores='4' threads='1'/> > > <feature policy='require' name='x2apic'/> > > <feature policy='require' name='hypervisor'/> > > <feature policy='require' name='xsaves'/> > > <feature policy='require' name='topoext'/> > > </cpu> > > > > We can change it temporarily on a running VM with Virt-Manager – but I want > this config to always be set whenever a VM is deployed from the template and > whenever a deployed VM is stopped and started. > > > > Any assistance would be greatly appreciated > > > > BR > > > > Gary > > > Gary Dixon > Senior Technical Consultant > T: +44 161 537 4990 > E: v tel:+44%207989717661ms@quadris‑support.com > W: www.quadris.co.uk > The information contained in this e-mail from Quadris may be confidential and > privileged for the private use of the named recipient. The contents of this > e-mail may not necessarily represent the official views of Quadris. If you > have received this information in error you must not copy, distribute or take > any action or reliance on its contents. Please destroy any hard copies and > delete this message. >