摘要 |
A computer system has several sets of user input/output devices. Each set may be a mouse, a keyboard and a display. It also runs a number of virtual machines. Each virtual machine is associated with a separate user and a separate set of I/O devices. When a user is identified at a particular set of I/O devices, the virtual machine associated with that set of I/O devices determines whether the identified user is the user associated with that virtual machine. If so, the user uses that virtual machine. Otherwise, the system identifies which virtual machine is associated with that user. The I/O device associations of the two virtual machines are swapped so that the set of I/O devices, at which the user was identified, is associated with the virtual machine which is associated with that user. The user identity may be authenticated by the virtual machine monitor. |