The invention relates to the technical field of
cloud computing, in particular to a method for supporting hot plugging of
virtual machine USB (universal serial
bus) storage equipment. According to the method, firstly, a
list of
USB storage equipment is firstly scanned on a host computer; when new
USB storage equipment is plugged, the
version ID and the manufacturer ID of the equipment are obtained; then, one piece of storage equipment is newly built on a
virtual machine according to the obtained vision ID and the manufacturer ID; next, the storage equipment is mounted into the corresponding
virtual machine on the
host machine according to the virtual
machine ID; when the use of a USB in the virtual
machine is completed, the USB storage equipment can be removed from an operation
system; the storage equipment is dismounted according to the obtained virtual
machine ID in the
host machine, and the storage equipment is deleted. The method provided by the invention solves the problems that in the traditional USB use process through combining the
remote desktop protocol, the operation excessively relies on the network, the
data path needs to be frequently changed, the maintenance work load of managers is great, and the like. The method can be used for virtual machine USB storage equipment hot plugging.