主权项 |
1. A method for coupling a plurality of virtual machines to a plurality of peripheral devices via a central switch, wherein the plurality of virtual machines are running a plurality of virtual desktops, the method comprising:
receiving a data packet from a virtual machine in one of the plurality of virtual machines coupled to the central switch, the data packet received in a first format compatible with a virtual desktop being run in the virtual machine; determining, by the central switch, a peripheral device in the plurality of peripheral devices that corresponds to the virtual desktop based on identification data associated with the virtual desktop including a port number specific to the virtual desktop, wherein each peripheral device of the plurality of peripheral devices is associated with a different virtual desktop; generating, by the central switch, a peripheral signal from the data packet that is configured to be sent to the peripheral device; and sending, by the central switch, the peripheral signal to the peripheral device via a converter, wherein the converter converts the peripheral signal to a second format compatible with the peripheral device that processes the peripheral signal for the virtual desktop being run in the virtual machine, and wherein each peripheral device in the plurality of peripheral devices is associated with a single different converter. |