A method for assigning a device to a first virtual machine includes connecting
the device, directly or indirectly, to a computer through an interconnect. The
first virtual machine and a second virtual machine are run on the computer. The
device is assigned to the first virtual machine for exclusive use by the first
virtual machine, and the assignment is enforced.