[PVE-User] Question

Dietmar Maurer dietmar at proxmox.com
Wed Jan 14 11:19:49 CET 2009


> I know how the CPU affinity for a KVM virtual machine, the command is:
> 
> qm list | grep Mex0 | awk -F" " '{print $6}' | xargs taskset -pc 2-3
> 
> where Mex0 is the name if my virtual machine. However, how do I run
> this
> command automatically every time the virtual machine restarts? Just
> some of
> my virtual machines needs this command.

That is currently not possible (you need to edit the perl library).
Please
let us first find out if it helps at all.

- Dietmar




More information about the pve-user mailing list