The invention provides a
virtual machine system based on the management technology of equipment access storage and an equipment
access control method thereof. The
virtual machine system comprises a
virtual machine monitor, an underlying hardware supporting the management technology of storage for equipment input and output, an equipment control module and a plurality of virtual machines; wherein the virtual
machine monitor comprises a scheduling module which can schedule different virtual machines to run on a processor, a
memory virtualization module used for completing
memory management of the virtual
system, an interrupt
virtualization module, an instruction analyzer, a privilege calling interface used for providing services for privilege entity and a control module of a
storage management unit of equipment input and output. In the virtual
machine system, one equipment control module corresponds to physical equipment and is responsible for initiating privilege calling to the virtual
machine monitor, receiving and executing an equipment
port access instruction transmitted by the virtual machine monitor, detecting
equipment state and hiding the
virtualization equipment resources and the like. In the equipment
access method provided by the invention, a
client operating system in the virtual machine can access equipment data by a
memory mapping mode; and the equipment utilizes the equipment access
storage management technology to carry out direct storage access to virtual machine data. The virtual machine system and the equipment
access control method lead the equipment performance to be improved greatly, relieve the system performance
bottle-neck, and improve safety of equipment
access control. The equipment access control method does not need to modify the
client operating system, is easy to be realized and has wide application range.