Using branch instruction counts to facilitate replay of virtual machine instruction execution
    3.
    发明授权
    Using branch instruction counts to facilitate replay of virtual machine instruction execution 有权
    使用分支指令计数来促进虚拟机指令执行的重放

    公开(公告)号:US07844954B2

    公开(公告)日:2010-11-30

    申请号:US12057282

    申请日:2008-03-27

    IPC分类号: G06F9/44

    摘要: A method and computer program product for logging non-deterministic events of a virtual machine executing a sequence guest instructions, the method including tracking an execution point in the sequence of executing guest instructions, the tracking of the execution point including determining a branch count of executed branch instructions; and detecting an occurrence of a non-deterministic event directed to the virtual machine during execution of the sequence of guest instructions, and recording information which includes an identifier of a current execution point, wherein the identifier includes the branch count.

    摘要翻译: 一种用于记录执行序列访客指令的虚拟机的非确定性事件的方法和计算机程序产品,所述方法包括跟踪执行访客指令序列中的执行点,执行点的跟踪包括确定执行的分支计数 分支指示; 以及在执行所述访客指令序列期间检测指向所述虚拟机的非确定性事件的发生,以及记录包括当前执行点的标识符的信息,其中所述标识符包括所述分支计数。

    Trace collection for a virtual machine
    4.
    发明授权
    Trace collection for a virtual machine 有权
    虚拟机的跟踪收集

    公开(公告)号:US08832682B2

    公开(公告)日:2014-09-09

    申请号:US12058545

    申请日:2008-03-28

    IPC分类号: G06F9/455

    摘要: One embodiment is a computer-implemented method of trace collection for a virtual machine that includes: executing a sequence of instructions from an initial state of the virtual machine; accessing an event log of data relating to nondeterministic events, which data includes an execution point; making at least a portion of the data available to the virtual machine when the sequence reaches the execution point; collecting trace information in response to expansion parameters; and storing the trace information in a trace file.

    摘要翻译: 一个实施例是用于虚拟机的跟踪收集的计算机实现的方法,包括:从虚拟机的初始状态执行指令序列; 访问与非确定性事件有关的数据的事件日志,所述数据包括执行点; 当所述序列到达所述执行点时,使所述数据的至少一部分可用于所述虚拟机; 根据扩展参数收集跟踪信息; 并将跟踪信息存储在跟踪文件中。

    Trace Collection for a Virtual Machine
    5.
    发明申请
    Trace Collection for a Virtual Machine 有权
    虚拟机的跟踪收集

    公开(公告)号:US20090248611A1

    公开(公告)日:2009-10-01

    申请号:US12058545

    申请日:2008-03-28

    IPC分类号: G06F17/30

    摘要: One embodiment is a computer-implemented method of trace collection for a virtual machine that includes: executing a sequence of instructions from an initial state of the virtual machine; accessing an event log of data relating to nondeterministic events, which data includes an execution point; making at least a portion of the data available to the virtual machine when the sequence reaches the execution point; collecting trace information in response to expansion parameters; and storing the trace information in a trace file.

    摘要翻译: 一个实施例是用于虚拟机的跟踪收集的计算机实现的方法,包括:从虚拟机的初始状态执行指令序列; 访问与非确定性事件有关的数据的事件日志,所述数据包括执行点; 当所述序列到达所述执行点时,使所述数据的至少一部分可用于所述虚拟机; 根据扩展参数收集跟踪信息; 并将跟踪信息存储在跟踪文件中。

    Precise branch counting in virtualization systems
    6.
    发明授权
    Precise branch counting in virtualization systems 有权
    虚拟化系统中的精确分支计数

    公开(公告)号:US09027003B2

    公开(公告)日:2015-05-05

    申请号:US12059894

    申请日:2008-03-31

    IPC分类号: G06F9/44 G06F9/455 G06F11/34

    摘要: A method for precisely counting guest branch instructions in a virtualized computer system is described. In one embodiment, guest instructions execute in a direct execution mode of the virtualized computer system. The direct execution mode operates at a first privilege level having a lower privilege than a second privilege level. A branch count of previously executed first privilege level branch instructions is maintained as instructions execute. Execution of a first privilege level branch instruction caused by a control transfer to the direct execution mode is detected. Responsive to the detection, a guest branch instruction count is determined based on the first privilege level branch count.

    摘要翻译: 描述了一种用于精确计算虚拟化计算机系统中的来宾分支指令的方法。 在一个实施例中,客户指令以虚拟化计算机系统的直接执行模式执行。 直接执行模式在具有比第二特权级别更低的特权的第一权限级别下操作。 先前执行的第一特权级别分支指令的分支计数被保持为指令执行。 检测由控制转移到直接执行模式引起的第一特权级分支指令的执行。 响应于检测,基于第一权限级别分支计数确定客户分支指令计数。

    PRECISE BRANCH COUNTING IN VIRTUALIZATION SYSTEMS
    7.
    发明申请
    PRECISE BRANCH COUNTING IN VIRTUALIZATION SYSTEMS 有权
    虚拟化系统中的精确分支计数器

    公开(公告)号:US20090249049A1

    公开(公告)日:2009-10-01

    申请号:US12059894

    申请日:2008-03-31

    IPC分类号: G06F7/42

    摘要: A method for precisely counting guest branch instructions in a virtualized computer system is described. In one embodiment, guest instructions execute in a direct execution mode of the virtualized computer system. The direct execution mode operates at a first privilege level having a lower privilege than a second privilege level. A branch count of previously executed first privilege level branch instructions is maintained as instructions execute. Execution of a first privilege level branch instruction caused by a control transfer to the direct execution mode is detected. Responsive to the detection, a guest branch instruction count is determined based on the first privilege level branch count.

    摘要翻译: 描述了一种用于精确计算虚拟化计算机系统中的来宾分支指令的方法。 在一个实施例中,客户指令以虚拟化计算机系统的直接执行模式执行。 直接执行模式在具有比第二特权级别更低的特权的第一权限级别下操作。 先前执行的第一特权级别分支指令的分支计数被保持为指令执行。 检测由控制转移到直接执行模式引起的第一特权级分支指令的执行。 响应于检测,基于第一权限级别分支计数确定客户分支指令计数。

    Using Branch Instruction Counts to Facilitate Replay of Virtual Machine Instruction Execution
    8.
    发明申请
    Using Branch Instruction Counts to Facilitate Replay of Virtual Machine Instruction Execution 有权
    使用分支指令计数来促进虚拟机指令执行的重放

    公开(公告)号:US20090119493A1

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

    申请号:US12057282

    申请日:2008-03-27

    IPC分类号: G06F9/44 G06F9/455

    摘要: A method and computer program product for logging non-deterministic events of a virtual machine executing a sequence guest instructions, the method including tracking an execution point in the sequence of executing guest instructions, the tracking of the execution point including determining a branch count of executed branch instructions; and detecting an occurrence of a non-deterministic event directed to the virtual machine during execution of the sequence of guest instructions, and recording information which includes an identifier of a current execution point, wherein the identifier includes the branch count.

    摘要翻译: 一种用于记录执行序列访客指令的虚拟机的非确定性事件的方法和计算机程序产品,所述方法包括跟踪执行访客指令序列中的执行点,执行点的跟踪包括确定执行的分支计数 分支指示; 以及在执行所述访客指令序列期间检测指向所述虚拟机的非确定性事件的发生,以及记录包括当前执行点的标识符的信息,其中所述标识符包括所述分支计数。

    Virtual machine fault tolerance
    10.
    发明授权
    Virtual machine fault tolerance 有权
    虚拟机容错

    公开(公告)号:US08201169B2

    公开(公告)日:2012-06-12

    申请号:US12484640

    申请日:2009-06-15

    IPC分类号: G06F9/455 G06F9/46 G06F11/00

    摘要: In a computer system running a primary virtual machine (VM) on virtualization software on a primary virtualized computer system (VCS) and running a secondary VM on virtualization software on a secondary VCS, a method for the secondary VM to provide quasi-lockstep fault tolerance for the primary VM includes: as the primary VM is executing a workload, virtualization software in the primary VCS is: (a) causing predetermined events to be recorded in an event log, (b) keeping output associated with the predetermined events pending, and (c) sending the log entries to the virtualization software in the secondary VCS; as the secondary VM is replaying the workload, virtualization software in the secondary VCS is: (a) sending acknowledgements indicating that log entries have been received; (b) when the virtualization software encounters one of the predetermined events, searching the log entries to determine whether a log entry corresponding to the same event was received from the primary VCS, and if so, comparing data associated with the predetermined event produced by the secondary VM with that of the primary VM; if there is a match, the virtualization software in the secondary VCS transmitting an acknowledgement to the virtualization software in the primary VCS; one of the virtualization software in the primary or secondary VCS dropping the event and the other dispatching the output; and if there is no match, performing a checkpoint resynchronization.

    摘要翻译: 在主虚拟化计算机系统(VCS)上的虚拟化软件上运行主虚拟机(VM)并在辅助VCS上运行虚拟化软件上的辅助虚拟机的计算机系统中,辅助虚拟机提供准锁步骤容错 对于主虚拟机包括:当主虚拟机正在执行工作负载时,主VCS中的虚拟化软件是:(a)使事件日志中记录预定事件,(b)保持与预定事件挂起的输出挂起,以及 (c)将日志条目发送到二级VCS中的虚拟化软件; 当辅助虚拟机正在重播工作负载时,辅助VCS中的虚拟化软件是:(a)发送指示已经接收到日志条目的确认; (b)当虚拟化软件遇到预定事件之一时,搜索日志条目以确定是否从主VCS接收到与同一事件相对应的日志条目,如果是,则将与由该VCS生成的预定事件相关联的数据进行比较 辅助虚拟机与主虚拟机的辅助虚拟机; 如果存在匹配,则次级VCS中的虚拟化软件向主VCS中的虚拟化软件发送确认; 主要或次要VCS中的虚拟化软件之一放弃事件,另一个调度输出; 如果没有匹配,则执行检查点重新同步。