Patent ID: 8613000

Claim:
A computer programmed to include a service operating system, at least a guest operating systems and a hypervisor, the service operating system comprising: a device model module for providing the guest operating systems with an input/output device access platform, and for controlling access to input/output devices by the guest operating systems dynamically, and wherein the hypervisor providing the guest operation systems with channels for accessing device models in the device model module, the device model module further comprising a device state module which can reflect enabling and disabling of the input/output devices in the device model with respect to the guest operating systems dynamically, the device model module further registering devices in a hardware space when the input/output devices in the device state module are enabled, the devices in the hardware space are discoverable to the guest operating systems, and the device model module providing the guest operating systems with normal access to the devices, wherein the device model module cancels the devices in a hardware space when the input/output devices in the device state module are disabled, the devices in the hardware space are undiscoverable to the guest operating systems, and then the devices can not be used by the guest operating systems, wherein the service operating system comprises a control module, the control module can change states of the input/output devices in the device state module so as to change registration situation of the devices in the hardware space, the control module further comprising a dynamic assigning device command program added into a control panel of the service operating system, and the command can change the state of the devices in the device state module at any time, wherein the guest operating systems comprising an agent module used to stop a corresponding device or rescan the hardware space according to a message event regarding modification of the device states.