Pin multiplexing method and device of multi-virtual machine system, equipment and storage medium

The invention provides a pin multiplexing method, device and equipment of a multi-virtual-machine system and a storage medium, the multi-virtual-machine system comprises a main virtual machine and a plurality of guest virtual machines, and the guest virtual machines use the same GPIO pin assembly co...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: JIANG MAO, LIU LIANG, WANG CHUNLIN, YU BENQIANG, WANG JIANXIU
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a pin multiplexing method, device and equipment of a multi-virtual-machine system and a storage medium, the multi-virtual-machine system comprises a main virtual machine and a plurality of guest virtual machines, and the guest virtual machines use the same GPIO pin assembly comprising a plurality of physical real GPIO pins. When a request that the current guest virtual machine needs to use the shared pin is received, whether other guest virtual machines occupy the shared pin or not is checked through the current guest virtual machine, and the shared pin is at least one same physical real GPIO pin configured for the current guest virtual machine and other guest virtual machines to use. And if yes, notifying the guest virtual machine occupying the shared pin to stop using the shared pin through the switch application of the current guest virtual machine. The shared pin is released through the switch application of the guest virtual machine occupying the shared pin, and the current guest v