Controlling virtual machines based on performance counters
    1.
    发明授权
    Controlling virtual machines based on performance counters 有权
    基于性能计数器控制虚拟机

    公开(公告)号:US08819699B2

    公开(公告)日:2014-08-26

    申请号:US11618446

    申请日:2006-12-29

    摘要: Embodiments of apparatuses, methods, and systems for controlling virtual machines based on performance counters are disclosed. In one embodiment, an apparatus includes an event counter, a comparator, and virtualization control logic. The event counter is to keep an event count based on the number of occurrences of an event. The comparator is to determine whether the event count has reached a threshold value. The virtualization control logic is to transfer control of the apparatus from a guest to a host in response to the comparator determining that the event count has reached the threshold value.

    摘要翻译: 公开了用于基于性能计数器来控制虚拟机的设备,方法和系统的实施例。 在一个实施例中,装置包括事件计数器,比较器和虚拟化控制逻辑。 事件计数器是根据事件的发生次数来保持事件计数。 比较器是确定事件计数是否达到阈值。 响应于比较器确定事件计数已经达到阈值,虚拟化控制逻辑是将设备从客户机的控制传送到主机。

    Executing a protected device model in a virtual machine
    4.
    发明授权
    Executing a protected device model in a virtual machine 有权
    在虚拟机中执行受保护的设备模型

    公开(公告)号:US08370559B2

    公开(公告)日:2013-02-05

    申请号:US11864477

    申请日:2007-09-28

    IPC分类号: G06F12/14

    摘要: Embodiments of apparatuses, methods, and systems for executing a protected device model in a virtual machine are disclosed. In one embodiment, an apparatus includes recognition logic, memory management logic, control logic, and execution logic. The recognition logic is to recognize an indication, during execution of first code on a virtual machine, that the first code is attempting to access a device. The memory management logic is to prevent the virtual machine from accessing a portion of memory during execution of the first code, and to allow the virtual machine to access the portion of memory in response to the indication. The control logic is to transfer control of the apparatus from the first code to second code stored in the portion of memory, without exiting the virtual machine. The execution logic is to execute the second code to model the device.

    摘要翻译: 公开了用于在虚拟机中执行受保护设备模型的装置,方法和系统的实施例。 在一个实施例中,装置包括识别逻辑,存储器管理逻辑,控制逻辑和执行逻辑。 识别逻辑是在虚拟机上执行第一代码期间识别出第一代码尝试访问设备的指示。 存储器管理逻辑是在执行第一代码期间防止虚拟机访问存储器的一部分,并且允许虚拟机响应于指示访问存储器的一部分。 控制逻辑是将装置的控制从第一代码传送到存储在存储器部分中的第二代码,而不退出虚拟机。 执行逻辑是执行第二个代码来对设备进行建模。