Hi Lukáš, It's not possible to do it on per VM basis, however, do explore the extra config feature if that allows for some customisation: https://www.shapeblue.com/cloudstack-feature-first-look-enable-sending-of-arbitrary-configuration-data-to-vms/
Not ideal - a workaround may also be to do it on one-time basis by setting guest.cpu.mode property in agent.properties for the VM you want to deploy and once it's deployed, revert the cpu mode setting and restart the agent on the KVM host. Regards. ________________________________ From: Daan Hoogland <[email protected]> Sent: Tuesday, June 6, 2023 19:45 To: [email protected] <[email protected]> Subject: Re: guest.cpu.mode per guest/vm on the same KVM host Lukáš This is an agent property, which means per host at least. I don't know of a way to make this per VM, but if you can do this on KVM, it seems like a reasonable feature request. On Tue, Jun 6, 2023 at 3:56 PM Lukáš Mrtvý <[email protected]> wrote: > > Hello, > Is possible somehow to set guest.cpu.mode per guest ( VM ) ? I would like > to create on the same KVM host VM with guest.cpu.mode=host-passthrough and > a second VM without any passthrough. Is it possible or this setting is > global / per KVM host? Thanks > -- > BR, > Lukáš Mrtvý -- Daan
