Patent ID: 8522239
Filing Date: 2013-08-27
Classification: G06F

Abstract:
1. A method for running a virtual machine in a computing system, comprising: (a) launching a virtual machine monitor (VMM) that uses hardware virtualization means to handle potentially unsafe instructions; (b) launching a virtual machine (VM) running a source guest code; (c) using the VMM for interrupt handling when encountering at least some privileged instructions in the source guest code, (d) continuously determining by the VMM, at runtime, if the instruction in the source guest code is safe or potentially unsafe, wherein the potentially unsafe instructions are non-privileged instructions that can execute incorrectly in a context of the VM; (e) executing the safe instructions in the source guest code in a native mode of the VM; and (f) bypassing potentially unsafe instructions using the VMM, including wherein offset addresses in the target guest code are the same as offset addresses in the source guest code.