Virtual machine system and a method for sharing a graphics card amongst virtual machines
    1.
    发明授权
    Virtual machine system and a method for sharing a graphics card amongst virtual machines 有权
    虚拟机系统和虚拟机之间共享图形卡的方法

    公开(公告)号:US09176765B2

    公开(公告)日:2015-11-03

    申请号:US11860939

    申请日:2007-09-25

    IPC分类号: G06F9/455 G06F9/46

    摘要: The present invention provides a virtual machine system and a method for sharing a graphics card amongst virtual machines. A VMM of the virtual machine system is provided with a resource-converting module, which converts data exchanged between a graphics card drive module of a GOS in the foreground and the graphics card based on a resource-converting table, and also intercepts accesses to the real graphics card by a GOS in the background and then responds to its operations on the graphics card. The VMM is further provided with a switching module, which alters a state of a VM based on a command for switching the VM, saves a graphics card state before the VM is switched to the background and restores the stored graphics card state to the graphics card when the VM is switched back to the foreground. Further, the GOSs each comprise a graphics card drive module corresponding to the real graphics card for accessing the real graphics card. The systems and the methods according to the present invention enable the GOSs to access the real graphics card, and also enable switching among a plurality of virtual machines.

    摘要翻译: 本发明提供一种在虚拟机之间共享图形卡的虚拟机系统和方法。 虚拟机系统的VMM设置有资源转换模块,该资源转换模块基于资源转换表转换在前台的GOS的图形卡驱动模块与图形卡之间交换的数据,并且还拦截对 真正的图形卡由GOS在后台响应其在显卡上的操作。 VMM还具有切换模块,其基于用于切换VM的命令改变VM的状态,在VM切换到背景之前保存图形卡状态,并将存储的图形卡状态恢复到图形卡 当VM切换回前台时。 此外,GOS各自包括对应于用于访问真实图形卡的真实图形卡的图形卡驱动模块。 根据本发明的系统和方法使得GOS能够访问真实图形卡,并且还使得能够在多个虚拟机之间进行切换。

    Method, apparatus and system for seamlessly sharing a graphics card amongst virtual machines
    2.
    发明授权
    Method, apparatus and system for seamlessly sharing a graphics card amongst virtual machines 有权
    用于在虚拟机之间无缝共享图形卡的方法,装置和系统

    公开(公告)号:US07739417B2

    公开(公告)日:2010-06-15

    申请号:US12025287

    申请日:2008-02-04

    IPC分类号: G06F3/00 G06F21/00

    摘要: The present invention provides a virtual machine system and a method of accessing a graphics card. The virtual machine system includes a VMM, an SOS and at least one GOS, and further includes a resource converting module for performing IO address converting on graphics card framebuffer accessing data from GOS(s) or mapping MMIO(s) to physical MMIO(s) of a graphics card based on a resource converting table, and sending the processed data to the graphics card; and a framebuffer allocating module for dividing a framebuffer resource of the graphics card into multiple blocks and allocating them respectively to corresponding GOS(s). The resource converting table(s) records correspondences between a resource allocation for the graphics card by SOS and a resource allocation for the graphics card by GOS(s). The framebuffer MMIO resource(s) allocated to the graphics card by GOS(s) is/are the framebuffer allocated to GOS(s) by the framebuffer allocating module.

    摘要翻译: 本发明提供了一种虚拟机系统和访问图形卡的方法。 虚拟机系统包括VMM,SOS和至少一个GOS,并且还包括资源转换模块,用于在图形卡帧缓冲器上执行IO地址转换,从GOS访问数据或将MMIO映射到物理MMIO ),并且将所处理的数据发送到所述图形卡; 以及帧缓冲器分配模块,用于将图形卡的帧缓冲器资源划分为多个块并将其分配给相应的GOS。 资源转换表通过SOS记录图形卡的资源分配与GOS的图形卡的资源分配之间的对应关系。 由GOS分配给图形卡的帧缓冲器MMIO资源是由帧缓冲器分配模块分配给GOS的帧缓冲区。

    METHOD, APPARATUS AND SYSTEM FOR SEAMLESSLY SHARING A GRAPHICS CARD AMONGST VIRTUAL MACHINES
    3.
    发明申请
    METHOD, APPARATUS AND SYSTEM FOR SEAMLESSLY SHARING A GRAPHICS CARD AMONGST VIRTUAL MACHINES 有权
    方法,用于无缝共享虚拟机的图形卡的装置和系统

    公开(公告)号:US20080215770A1

    公开(公告)日:2008-09-04

    申请号:US12025287

    申请日:2008-02-04

    IPC分类号: G06F13/14

    摘要: The present invention provides a virtual machine system and a method of accessing a graphics card by the same, wherein, the virtual machine system includes a Virtual Machine Monitor (VMM), a Service Operating System (SOS) and at least one Guest Operating System (GOS), and further includes a resource converting module for performing IO address converting on graphics card framebuffer accessing data from the GOS(s) or mapping MMIO(s) to physical MMIO(s) of a graphics card based on a resource converting table or resource converting tables, and sending the processed data to the graphics card; and a framebuffer allocating module for dividing a framebuffer resource of the graphics card into multiple blocks and allocating them respectively to the corresponding GOS(s). The resource converting table(s) records correspondences between a resource allocation for the graphics card by the SOS and a resource allocation or resource allocations for the graphics card by the GOS(s). The framebuffer MMIO resource(s) allocated to the graphics card by the GOS(s) is/are the framebuffer allocated to the GOS(s) by the framebuffer allocating module. The virtual machine system and the method according to the present invention are capable of accessing the real graphics card through the resource converting table(s), and also solve the problem of display confusion when multiple GOSs commonly access the real graphics card while being able to switch display.

    摘要翻译: 本发明提供了一种虚拟机系统及其访问图形卡的方法,其中,虚拟机系统包括虚拟机监视器(VMM),服务操作系统(SOS)和至少一个来宾操作系统 GOS),并且还包括资源转换模块,用于在图形卡帧缓冲器上执行IO地址转换,所述帧缓冲器基于资源转换表或从所述GOS访问数据或将MMIO映射到图形卡的物理MMIO,或 资源转换表,并将处理的数据发送到图形卡; 以及帧缓冲器分配模块,用于将图形卡的帧缓冲器资源划分为多个块并将其分配给相应的GOS。 资源转换表记录由SOS对图形卡的资源分配与GOS的资源分配或图形卡的资源分配之间的对应关系。 由GOS分配给图形卡的帧缓冲器MMIO资源是由帧缓冲器分配模块分配给GOS的帧缓冲区。 根据本发明的虚拟机系统和方法能够通过资源转换表访问真实图形卡,并且还解决了当多个GOS通常访问真实显卡时显示混乱的问题,同时能够 开关显示。

    Method for sharing graphics card among multiple operation systems and computer system
    4.
    发明授权
    Method for sharing graphics card among multiple operation systems and computer system 有权
    在多个操作系统和计算机系统之间共享图形卡的方法

    公开(公告)号:US08717376B2

    公开(公告)日:2014-05-06

    申请号:US12316687

    申请日:2008-12-16

    摘要: The present invention provides a method for sharing a graphics card among multiple Operation Systems (OSs) and a computer system. The method comprises: detecting a first GOS to be displayed, the first GOS being one of at least two GOSs; calling a 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; and displaying the first GOS based on the display mode parameters. According to the inventive method and computer system, it is possible to achieve sharing of the graphics card among the multiple OSs and quick display of the GOS to be displayed, without simulating registers of the graphics card.

    摘要翻译: 本发明提供了一种用于在多个操作系统(OS)和计算机系统之间共享图形卡的方法。 所述方法包括:检测要显示的第一GOS,所述第一GOS是至少两个GOS中的一个; 调用对应表以确定对应于第一GOS的第一显示控制寄存器组,其中包括显示模式参数的第一显示控制寄存器组; 控制第一显示控制寄存器组以连接到显示输出端口; 并基于显示模式参数显示第一GOS。 根据本发明的方法和计算机系统,可以在不显示图形卡的寄存器的情况下实现在多个操作系统之间共享图形卡并显示要显示的GOS的快速显示。

    CONTROL METHOD AND COMPUTER SYSTEM FOR SWITCHING DISPLAY BETWEEN OSs
    5.
    发明申请
    CONTROL METHOD AND COMPUTER SYSTEM FOR SWITCHING DISPLAY BETWEEN OSs 有权
    用于切换操作系统之间的显示的控制方法和计算机系统

    公开(公告)号:US20090167773A1

    公开(公告)日:2009-07-02

    申请号:US12341471

    申请日:2008-12-22

    IPC分类号: G06F13/14

    CPC分类号: G06F9/5077

    摘要: The present invention provides a control method for switching display between a plurality of OSs as well as a computer system. The method comprises: detecting that the currently displayed guest operating system (GOS) is required to be switched from a first GOS to a second GOS; determining whether the first GOS satisfies a preset switching condition, and switching the currently displayed GOS to the second GOS if the preset switching condition is satisfied, and otherwise, prohibiting the switching from the currently displayed GOS. With the method and the computer system, it is possible to avoid picture distortion or blurring or system collapse in switching display between a plurality of OSs.

    摘要翻译: 本发明提供了一种用于在多个OS之间切换显示的控制方法以及计算机系统。 该方法包括:检测当前显示的客户机操作系统(GOS)需要从第一GOS切换到第二GOS; 确定第一GOS是否满足预设切换条件,并且如果满足预设的切换条件则将当前显示的GOS切换到第二GOS,否则禁止从当前显示的GOS切换。 利用该方法和计算机系统,可以避免多个OS之间的切换显示中的图像失真或模糊或系统崩溃。

    METHOD AND COMPUTER SYSTEM FOR SHARING GRAPHICS CARD AMONG MULTIPLE OPERATION SYSTEMS
    6.
    发明申请
    METHOD AND COMPUTER SYSTEM FOR SHARING GRAPHICS CARD AMONG MULTIPLE OPERATION SYSTEMS 有权
    用于在多个操作系统中共享图形卡的方法和计算机系统

    公开(公告)号:US20090172667A1

    公开(公告)日:2009-07-02

    申请号:US12343768

    申请日:2008-12-24

    IPC分类号: G06F9/455 G06F9/46

    摘要: The present invention provides a method and a computer system for sharing a graphics card among multiple Operation Systems (OSs). The method includes: detecting a first GOS to be displayed, the first GOS being a primary GOS or one of at least one secondary GOS; determining the kind of the first GOS, so that different display control register bank(s) and graphics card memory resources are allocated to the first GOS depending on whether it is a primary GOS or a secondary GOS; controlling the display control register bank(s) allocated to the first GOS to connect to a display output port; obtaining display contents based on the graphics card memory resources allocated to the first GOS; and displaying the display contents based on display mode parameters in the display control register bank(s) connected to the display output port. According to the present invention, it is possible to share the graphics card among the multiple OSs without modifying the drivers of the primary GOS.

    摘要翻译: 本发明提供了一种用于在多个操作系统(OS)中共享图形卡的方法和计算机系统。 该方法包括:检测要显示的第一GOS,第一GOS是主要GOS或至少一个辅助GOS中的一个; 确定第一GOS的种类,使得不同的显示控制寄存器组和图形卡存储器资源被分配给第一GOS,取决于它是主GOS还是辅助GOS; 控制分配给第一GOS的显示控制寄存器组以连接到显示器输出端口; 基于分配给第一GOS的图形卡存储器资源获得显示内容; 以及基于与显示输出端口连接的显示控制寄存器组中的显示模式参数来显示显示内容。 根据本发明,可以在不改变主要GOS的驱动程序的情况下在多个OS之间共享图形卡。

    Method for sharing graphics card among multiple operation systems and computer system
    7.
    发明申请
    Method for sharing graphics card among multiple operation systems and computer system 有权
    在多个操作系统和计算机系统之间共享图形卡的方法

    公开(公告)号:US20090153575A1

    公开(公告)日:2009-06-18

    申请号:US12316687

    申请日:2008-12-16

    IPC分类号: G06F12/02

    摘要: The present invention provides a method for sharing a graphics card among multiple Operation Systems (OSs) and a computer system. The method comprises: detecting a first GOS to be displayed, the first GOS being one of at least two GOSs; calling a 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; and displaying the first GOS based on the display mode parameters. According to the inventive method and computer system, it is possible to achieve sharing of the graphics card among the multiple OSs and quick display of the GOS to be displayed, without simulating registers of the graphics card.

    摘要翻译: 本发明提供了一种用于在多个操作系统(OS)和计算机系统之间共享图形卡的方法。 所述方法包括:检测要显示的第一GOS,所述第一GOS是至少两个GOS中的一个; 调用对应表以确定对应于第一GOS的第一显示控制寄存器组,其中包括显示模式参数的第一显示控制寄存器组; 控制第一显示控制寄存器组以连接到显示输出端口; 并基于显示模式参数显示第一GOS。 根据本发明的方法和计算机系统,可以在不显示图形卡的寄存器的情况下实现在多个操作系统之间共享图形卡并显示要显示的GOS的快速显示。

    Method and computer system for sharing graphics card among multiple operation systems
    8.
    发明授权
    Method and computer system for sharing graphics card among multiple operation systems 有权
    用于在多个操作系统之间共享显卡的方法和计算机系统

    公开(公告)号:US08924962B2

    公开(公告)日:2014-12-30

    申请号:US12343768

    申请日:2008-12-24

    IPC分类号: G09G5/36

    摘要: The present invention provides a method and a computer system for sharing a graphics card among multiple Operation Systems (OSs). The method includes: detecting a first GOS to be displayed, the first GOS being a primary GOS or one of at least one secondary GOS; determining the kind of the first GOS, so that different display control register bank(s) and graphics card memory resources are allocated to the first GOS depending on whether it is a primary GOS or a secondary GOS; controlling the display control register bank(s) allocated to the first GOS to connect to a display output port; obtaining display contents based on the graphics card memory resources allocated to the first GOS; and displaying the display contents based on display mode parameters in the display control register bank(s) connected to the display output port. According to the present invention, it is possible to share the graphics card among the multiple OSs without modifying the drivers of the primary GOS.

    摘要翻译: 本发明提供了一种用于在多个操作系统(OS)中共享图形卡的方法和计算机系统。 该方法包括:检测要显示的第一GOS,第一GOS是主要GOS或至少一个辅助GOS中的一个; 确定第一GOS的种类,使得不同的显示控制寄存器组和图形卡存储器资源被分配给第一GOS,取决于它是主GOS还是辅助GOS; 控制分配给第一GOS的显示控制寄存器组以连接到显示器输出端口; 基于分配给第一GOS的图形卡存储器资源获得显示内容; 以及基于与显示输出端口连接的显示控制寄存器组中的显示模式参数来显示显示内容。 根据本发明,可以在不改变主要GOS的驱动程序的情况下在多个OS之间共享图形卡。

    Control method and computer system for switching display between OSs
    9.
    发明授权
    Control method and computer system for switching display between OSs 有权
    用于在OS之间切换显示的控制方法和计算机系统

    公开(公告)号:US08314805B2

    公开(公告)日:2012-11-20

    申请号:US12341471

    申请日:2008-12-22

    IPC分类号: G06T1/60 G06F13/14 G06F9/455

    CPC分类号: G06F9/5077

    摘要: The present invention provides a control method for switching display between a plurality of OSs as well as a computer system. The method comprises: detecting that the currently displayed guest operating system (GOS) is required to be switched from a first GOS to a second GOS; determining whether the first GOS satisfies a preset switching condition, and switching the currently displayed GOS to the second GOS if the preset switching condition is satisfied, and otherwise, prohibiting the switching from the currently displayed GOS. With the method and the computer system, it is possible to avoid picture distortion or blurring or system collapse in switching display between a plurality of OSs.

    摘要翻译: 本发明提供了一种用于在多个OS之间切换显示的控制方法以及计算机系统。 该方法包括:检测当前显示的客户机操作系统(GOS)需要从第一GOS切换到第二GOS; 确定第一GOS是否满足预设切换条件,并且如果满足预设的切换条件则将当前显示的GOS切换到第二GOS,否则禁止从当前显示的GOS切换。 利用该方法和计算机系统,可以避免多个OS之间的切换显示中的图像失真或模糊或系统崩溃。

    METHOD FOR RESTORING CLIENT OPERATING SYSTEM-BASED SYSTEM, VIRTUAL MACHINE MANAGER AND SYSTEM USING THE SAME
    10.
    发明申请
    METHOD FOR RESTORING CLIENT OPERATING SYSTEM-BASED SYSTEM, VIRTUAL MACHINE MANAGER AND SYSTEM USING THE SAME 审中-公开
    恢复客户端操作系统系统的方法,虚拟机管理器及其使用的系统

    公开(公告)号:US20100174943A1

    公开(公告)日:2010-07-08

    申请号:US12683126

    申请日:2010-01-06

    IPC分类号: G06F11/08

    摘要: The present invention provides a method for restoring a client operating system-based system, a virtual machine manager and a virtual machine manager system using the same. The method comprises steps of: receiving a restoration instruction for the client operating system and suspending running the client operating system after receiving the restoration instruction, the restoration instruction including a preset restoration point; determining a first memory snapshot and a first incremental file corresponding to the restoration point, the first memory snapshot being a memory snapshot for the client operating system, which is created when setting the restoration point, and the first incremental file being an incremental file, which is mapped as the first hard disk when setting the restoration point; re-mapping the first incremental file as the first hard disk; and performing a snapshot recovery based on the first memory snapshot. With the present invention, system restoration may be performed rapidly.

    摘要翻译: 本发明提供一种用于恢复基于客户端操作系统的系统,虚拟机管理器和使用该系统的虚拟机管理器系统的方法。 所述方法包括以下步骤:接收到所述客户端操作系统的恢复指令,并且在接收到所述恢复指令之后暂停运行所述客户端操作系统,所述恢复指令包括预设的恢复点; 确定与所述恢复点相对应的第一存储器快照和第一增量文件,所述第一存储器快照是用于所述客户端操作系统的存储器快照,其在设置所述恢复点时被创建,所述第一增量文件是增量文件, 在设置恢复点时映射为第一个硬盘; 将第一个增量文件重新映射为第一个硬盘; 以及基于所述第一存储器快照执行快照恢复。 利用本发明,可以快速执行系统恢复。