System and method for binding virtual machines to hardware contexts. A
method includes obtaining resource requirements for a plurality of
virtual machines, and binding one or more of the plurality of virtual
machines to one or more of a plurality of hardware contexts associated
with a processor based upon the resource requirements. The resource
requirements may be the bandwidth and latency of the virtual machines.
The method may be implemented as software on a storage device on a
computing device having a processor that supports multiple hardware
contexts. The method is particularly beneficial for real-time virtual
machines.