Patent ID: 8365178

Claim:
A computer-implemented method, comprising: receiving, by a virtual machine monitor (VMM) of a host machine, control of a virtual machine (VM) executing a task involving a hardware emulation of the VM; determining, by the VMM, a statistic assigned to a hardware type factor of the hardware emulation of the VM; determining, by the VMM, a rate for the VM to represent interaction of a user with the VM when the VM is executing the task, the rate based on the determined statistic and the task executed by the VM; sending, by the VMM, the determined rate for the VM to a management daemon of the VMM if the determined rate for the VM is different than a previous determined rate for the VM; re-calculating, by the management daemon, priority numbers for each of the VM and all other VMs managed by the VMM based on the determined rate for the VM; and providing, by the management daemon, the re-calculated priority numbers to a scheduling algorithm of a scheduler of the host machine for the scheduler to utilize in prioritizing scheduling of the task of the VM at a resource of the host machine.