Patent ID: 8924962

Claim:
A method for sharing a graphics card among multiple Operation Systems (OSs), the graphics card having display control register banks and graphics card memory resources, the display control register banks having information on display mode parameters stored therein, the multiple OSs comprising a primary Guest Operation System (GOS) and at least one secondary GOS, the method comprising: detecting that a first GOS is to be displayed; determining whether the first GOS is the primary GOS or one of the at least one secondary GOS; when the first GOS is determined to be the primary GOS: allocating all the display control register banks and all graphics card memory resources of the graphics card to the first GOS; controlling the display control register bank(s) allocated to the first GOS to connect to a display output port; displaying the first GOS based on the graphics card memory resources allocated to the first GOS and the display mode parameters stored in the display control register bank(s) connected to the display output port, and when the first GOS is determined to be one of the at least one secondary GOS: allocating one of the display control register banks and a part of the graphics card memory resources are allocated to the first GOS; controlling the display control register bank(s) allocated to the first GOS to connect to a display output port; displaying the first GOS based on the graphics card memory resources allocated to the first GOS; and the display mode parameters stored in the display control register bank(s) connected to the display output port.