Patent ID: 8717376
Filing Date: 2014-05-06
Classification: G06F,G09G

Abstract:
1. A method for sharing a graphics card among multiple Operation Systems (OSs) of a computer system which comprises the multiple OSs, a virtual machine manager and the graphics card, the multiple OSs comprising at least two Guest Operation Systems (GOSs) and a correspondence table, the correspondence table saving a respective display control register bank corresponding to each of the GOSs, the at least two GOSs comprising a first GOS belonging to a first class of GOSs which directly access the graphics card without involving a virtual machine manager and a second GOS belonging to a second class of GOSs which indirectly access the graphics card through one of the first class of GOSs via the virtual machine manager, the method comprising: detecting the first GOS to be displayed; calling the correspondence table to determine a first display control register bank corresponding to the first GOS, the first display control register bank including display mode parameters therein; controlling the first display control register bank to connect to a display output port of the graphics card; displaying the first GOS based on the display mode parameters; receiving at the one of the first class of GOSs a command of accessing the graphics card transmitted from the second GOS via the virtual machine manager; and carrying out display output for the second GOS through the first GOS by the one of the first class of GOSs stimulating the graphics card for the second GOS and providing accesses to the graphics card for the second GOS.