+

CN102799480A - Method and device for closing interrupt in virtualization system - Google Patents

Method and device for closing interrupt in virtualization system Download PDF

Info

Publication number
CN102799480A
CN102799480A CN2012102071375A CN201210207137A CN102799480A CN 102799480 A CN102799480 A CN 102799480A CN 2012102071375 A CN2012102071375 A CN 2012102071375A CN 201210207137 A CN201210207137 A CN 201210207137A CN 102799480 A CN102799480 A CN 102799480A
Authority
CN
China
Prior art keywords
guest
interface
interrupt
bit register
interrupt identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012102071375A
Other languages
Chinese (zh)
Other versions
CN102799480B (en
Inventor
马彬
郑章孝
白云鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nantong Hangda Electronic Technology Co ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210207137.5A priority Critical patent/CN102799480B/en
Publication of CN102799480A publication Critical patent/CN102799480A/en
Priority to PCT/CN2013/070810 priority patent/WO2013189180A1/en
Application granted granted Critical
Publication of CN102799480B publication Critical patent/CN102799480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45583Memory management, e.g. access or allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

本发明提供虚拟化系统中关闭中断的方法和装置,更好地支持Guest OS开/关中断,降低对系统运行效率的影响。所述方法包括:向虚拟化操作系统Guest OS提供接口以使所述Guest OS调用所述接口将共享内存中与所述Guest OS对应的中断标志位寄存器设置中断标志;检查所述中断标志位寄存器;若所述中断标志位寄存器表明所述Guest OS需要关闭中断,则禁止向所述Guest OS发送虚拟中断。本发明提供的方法不依赖Hypervisor与Guest OS共同编译,Hypervisor不需与Guest OS共享代码段,对共享内存的访问通过虚拟地址进行,在关闭/打开中断时速度快,系统运行效率高。

The invention provides a method and device for disabling interrupts in a virtualization system, better supports guest OS on/off interrupts, and reduces the impact on system operating efficiency. The method includes: providing an interface to the virtualization operating system Guest OS so that the Guest OS calls the interface to set an interrupt flag in the interrupt flag register corresponding to the Guest OS in the shared memory; checking the interrupt flag register ; If the interrupt flag bit register indicates that the Guest OS needs to disable interrupts, then prohibit sending virtual interrupts to the Guest OS. The method provided by the present invention does not rely on the joint compilation of the Hypervisor and the Guest OS, the Hypervisor does not need to share code segments with the Guest OS, the access to the shared memory is performed through the virtual address, the speed of closing/opening the interrupt is fast, and the system operation efficiency is high.

Description

虚拟化系统中关闭中断的方法和装置Method and device for closing interrupt in virtualization system

技术领域 technical field

本发明涉及计算机领域,尤其涉及虚拟化系统中关闭中断的方法和装置。The invention relates to the field of computers, in particular to a method and device for disabling interrupts in a virtualization system.

背景技术 Background technique

为了防止重要的系统程序代码执行时不被打断或者为了保证数据一致性,操作系统(Operating System,OS)需要执行关闭中断的操作。In order to prevent important system program code from being interrupted or to ensure data consistency, the operating system (Operating System, OS) needs to perform an operation to disable interrupts.

在非虚拟化的环境下,OS可直接关物理硬件中断。然而,一旦部署了实时嵌入式虚拟化构件即Hypervisor,中断的分发便由Hypervisor统一管理,OS并不能直接去关闭物理硬件中断。例如,在虚拟化系统,多个客户操作系统(Guest OS)会运行在单个物理中央处理器(Central Processing Unit,CPU)上,单个Guest OS执行关闭中断时不能影响同一个物理CPU上其他Guest OS的运行,这就需要由Hypervisor统一协调处理关闭中断这一操作。In a non-virtualized environment, the OS can directly disable physical hardware interrupts. However, once the real-time embedded virtualization component Hypervisor is deployed, the distribution of interrupts will be managed by the Hypervisor, and the OS cannot directly disable physical hardware interrupts. For example, in a virtualization system, multiple guest operating systems (Guest OS) will run on a single physical central processing unit (Central Processing Unit, CPU), and a single Guest OS cannot affect other Guest OSs on the same physical CPU when the interrupt is disabled. running, which requires the Hypervisor to coordinate and process the operation of disabling interrupts.

在部署了Hypervisor的虚拟化系统中,现有技术提供的一种关闭中断方法是:Hypervisor和Guest OS独立编译、链接映像,通过引导程序(BootLoader)将Hypervisor和Guest OS的映像加载到内存,BootLoader启动Hypervisor,Hypervisor再分别启动各个Guest OS。由于在虚拟化系统中,中断是由Hypervisor统一分发,因此,需要Hypervisor提供中断通知(Hyper Call)的通讯方式,即,Guest OS通过Hyper Call向Hypervisor发送关闭中断的请求。Hypervisor收到关闭中断的请求后,再设置禁止向相关Guest OS内核分发中断,即关闭中断。In a virtualization system in which a Hypervisor is deployed, a method for disabling interrupts provided by the prior art is: Hypervisor and Guest OS independently compile and link images, and the images of Hypervisor and Guest OS are loaded into memory through a bootloader (BootLoader), and BootLoader Start the Hypervisor, and the Hypervisor starts each Guest OS separately. Since in the virtualization system, interrupts are uniformly distributed by the Hypervisor, the Hypervisor is required to provide a communication method for interrupt notification (Hyper Call), that is, the Guest OS sends a request to the Hypervisor to disable interrupts through the Hyper Call. After the Hypervisor receives the request to disable the interrupt, it sets the prohibition of distributing interrupts to the relevant Guest OS kernel, that is, disables the interrupt.

Hyper Call一般应用在不共享一个代码段的跨映像接口调用的场景(例如,XEN提供的跨映像接口调用)以及不同特权级模式之间的接口调用的场景(例如,Linux提供的syscall调用)等,目前,在上述应用场景下,Hyper Call存在多种实现方式,例如,通过消息通讯、通过中断通讯或通过实现跨模式间的接口调用功能等。由于Hyper Call的实现方式一般都涉及对内存和队列等通用通讯机制的应用,因此,如果Guest OS需要频繁地执行打开或关闭中断这一操作,则上述现有技术提供的关闭中断方法使得系统运行效率较低。Hyper Call is generally applied in scenarios of cross-image interface calls that do not share a code segment (for example, cross-image interface calls provided by XEN) and interface calls between different privileged modes (for example, syscall calls provided by Linux), etc. , at present, in the above application scenarios, there are many ways to implement Hyper Call, for example, through message communication, through interrupt communication, or through the interface call function between modes. Since the implementation of Hyper Call generally involves the application of general communication mechanisms such as memory and queues, if the Guest OS needs to frequently perform the operation of opening or closing interrupts, the method of closing interrupts provided by the above-mentioned prior art makes the system run less efficient.

发明内容 Contents of the invention

本发明实施例提供虚拟化系统中关闭中断的方法和装置,以更好地支持Guest OS开/关中断,同时降低对系统运行效率的影响。Embodiments of the present invention provide a method and device for disabling interrupts in a virtualization system, so as to better support guest OS on/off interrupts and reduce the impact on system operating efficiency.

本发明实施例提供一种虚拟化系统中关闭中断的方法,所述方法包括:向虚拟化操作系统Guest OS提供接口以使所述Guest OS调用所述接口将共享内存中与所述Guest OS对应的中断标志位寄存器设置中断标志,所述共享内存为实时嵌入式虚拟化构件Hypervisor与至少一个Guest OS共享并用于记录中断标志的物理内存,所述共享内存中不同的Guest OS与所述Hypervisor共享的内存空间互相隔离;检查所述中断标志位寄存器;若所述中断标志位寄存器表明所述Guest OS需要关闭中断,则禁止向所述Guest OS发送虚拟中断。An embodiment of the present invention provides a method for disabling interrupts in a virtualization system, the method comprising: providing an interface to the virtualization operating system Guest OS so that the Guest OS calls the interface to correspond to the Guest OS in the shared memory The interrupt flag bit register sets the interrupt flag, and the shared memory is the physical memory shared by the real-time embedded virtualization component Hypervisor and at least one Guest OS and used to record the interrupt flag, and the different Guest OS in the shared memory are shared with the Hypervisor Check the interrupt flag bit register; if the interrupt flag bit register indicates that the Guest OS needs to close the interrupt, it is forbidden to send a virtual interrupt to the Guest OS.

本发明实施例提供一种虚拟化系统中关闭中断的装置,所述装置包括:接口提供模块,用于向虚拟化操作系统Guest OS提供接口以使所述Guest OS调用所述接口将共享内存中与所述Guest OS对应的中断标志位寄存器设置中断标志,所述共享内存为实时嵌入式虚拟化构件Hypervisor与至少一个Guest OS共享并用于记录中断标志的物理内存,所述共享内存中不同的Guest OS与所述Hypervisor共享的内存空间互相隔离;标志位检查模块,用于检查所述中断标志位寄存器;中断截止发送模块,用于若所述标志位检查模块检查所述中断标志位寄存器表明所述Guest OS需要关闭中断,则禁止向所述Guest OS发送虚拟中断。An embodiment of the present invention provides a device for disabling interrupts in a virtualization system. The device includes: an interface providing module for providing an interface to the virtualization operating system Guest OS so that the Guest OS calls the interface to share the memory The interrupt flag bit register corresponding to the Guest OS sets the interrupt flag, and the shared memory is the real-time embedded virtualization component Hypervisor shares with at least one Guest OS and is used to record the physical memory of the interrupt flag, and the different Guest in the shared memory The memory space shared by the OS and the Hypervisor is isolated from each other; the flag bit checking module is used to check the interrupt flag bit register; the interrupt cut-off sending module is used to indicate that the interrupt flag bit register is checked if the flag bit checking module checks the interrupt flag bit register If the Guest OS needs to disable interrupts, it is prohibited to send virtual interrupts to the Guest OS.

从上述本发明实施例可知,由于实时嵌入式虚拟化构件Hypervisor向虚拟化操作系统Guest OS提供接口,所述Guest OS可以将Hypervisor与至少一个Guest OS共享并用于记录中断标志的物理内存即共享内存中与所述Guest OS对应的中断标志位寄存器设置中断标志。与现有技术通过提供中断通知的通讯方式关闭中断的方法相比,本发明实施例提供的方法不依赖Hypervisor与GuestOS共同编译,Hypervisor不需与Guest OS共享代码段;由于虚拟化层与Guest OS映像分离,对共享内存的访问通过虚拟地址进行,因此,在关闭/打开中断时速度快,系统运行效率高。As can be seen from the above-mentioned embodiments of the present invention, since the real-time embedded virtualization component Hypervisor provides an interface to the virtualized operating system Guest OS, the Guest OS can share the Hypervisor with at least one Guest OS and be used to record the physical memory of the interrupt flag, that is, the shared memory The interrupt flag bit register corresponding to the Guest OS in the set interrupt flag. Compared with the prior art method of disabling interruption by providing a communication mode of interruption notification, the method provided by the embodiment of the present invention does not rely on Hypervisor and Guest OS to compile together, and Hypervisor does not need to share code segments with Guest OS; since the virtualization layer and Guest OS The image is separated, and the access to the shared memory is performed through the virtual address, so the speed is fast when the interrupt is turned off/on, and the system operation efficiency is high.

附图说明 Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对现有技术或实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,还可以如这些附图获得其In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the prior art or the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiment, for those skilled in the art, can also obtain its

他的附图。his drawings.

图1是本发明实施例提供的虚拟化系统中关闭中断的方法流程示意图;FIG. 1 is a schematic flowchart of a method for disabling interrupts in a virtualization system provided by an embodiment of the present invention;

图2是本发明实施例提供的单个物理CPU上运行多个Guest OS和单个Guest OS运行于多个物理CPU上的场景示意图;FIG. 2 is a schematic diagram of a scenario in which multiple Guest OSs run on a single physical CPU and a single Guest OS runs on multiple physical CPUs according to an embodiment of the present invention;

图3是本发明实施例提供的虚拟化系统中关闭中断的装置结构示意图;FIG. 3 is a schematic structural diagram of a device for disabling interrupts in a virtualization system provided by an embodiment of the present invention;

图4是本发明另一实施例提供的虚拟化系统中关闭中断的装置结构示意图;FIG. 4 is a schematic structural diagram of a device for disabling interrupts in a virtualization system according to another embodiment of the present invention;

图5是本发明另一实施例提供的虚拟化系统中关闭中断的装置结构示意图;FIG. 5 is a schematic structural diagram of a device for disabling interrupts in a virtualization system according to another embodiment of the present invention;

图6a是本发明另一实施例提供的虚拟化系统中关闭中断的装置结构示意图;Fig. 6a is a schematic structural diagram of a device for disabling interrupts in a virtualization system according to another embodiment of the present invention;

图6b是本发明另一实施例提供的虚拟化系统中关闭中断的装置结构示意图;Fig. 6b is a schematic structural diagram of a device for disabling interrupts in a virtualization system according to another embodiment of the present invention;

图7是本发明另一实施例提供的虚拟化系统中关闭中断的装置结构示意图。FIG. 7 is a schematic structural diagram of an apparatus for disabling interrupts in a virtualization system according to another embodiment of the present invention.

具体实施方式 Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

请参阅附图1,是本发明实施例提供的虚拟化系统中关闭中断的方法流程示意图,主要包括步骤S101、步骤S102和步骤S103:Please refer to accompanying drawing 1, which is a schematic flowchart of a method for disabling interrupts in a virtualization system provided by an embodiment of the present invention, mainly including steps S101, S102 and S103:

S101,向虚拟化操作系统Guest OS提供接口以使所述Guest OS调用所述接口将共享内存中与所述Guest OS对应的中断标志位寄存器设置中断标志,所述共享内存为实时嵌入式虚拟化构件Hypervisor与至少一个Guest OS共享并用于记录中断标志的物理内存。S101, providing an interface to the virtualization operating system Guest OS so that the Guest OS calls the interface to set an interrupt flag in the interrupt flag bit register corresponding to the Guest OS in the shared memory, the shared memory is real-time embedded virtualization The physical memory that the component Hypervisor shares with at least one Guest OS and is used to record interrupt flags.

在本发明实施例中,Guest OS是一种虚拟化操作系统,这类操作系统与一般操作系统不同之处在于,不是单个物理CPU上只运行一个这样的虚拟化操作系统或者一个这样的虚拟化操作系统只运行在单个物理CPU上,即不是直接运行于硬件层(Hardware)之上,而是运行于硬件层之上的实时嵌入式虚拟化构件Hypervisor,如附图2所示,是单个物理CPU上运行多个Guest OS和单个GuestOS运行于多个物理CPU上的场景示意图。例如,Guest OS0和Guest OS1通过Hypervisor运行于物理CPU0(Core0)上,而Guest OSn通过Hypervisor运行于物理CPU1(Core1)、物理CPU2(Core2)和物理CPUn(Coren)上。In the embodiment of the present invention, the Guest OS is a virtualized operating system. The difference between this type of operating system and the general operating system is that not only one such virtualized operating system or one such virtualized operating system is run on a single physical CPU. The operating system only runs on a single physical CPU, that is, it does not run directly on the hardware layer (Hardware), but runs on the real-time embedded virtualization component Hypervisor on the hardware layer. As shown in Figure 2, it is a single physical CPU Schematic diagram of a scenario where multiple Guest OSs run on a CPU and a single Guest OS runs on multiple physical CPUs. For example, Guest OS 0 and Guest OS 1 run on physical CPU 0 (Core 0 ) through the hypervisor, while Guest OS n runs on physical CPU 1 (Core 1 ), physical CPU 2 (Core 2 ) and physical CPU n ( Core n ).

与现有技术通过中断通知(Hyper Call)的通讯方式关闭中断不同,在本发明实施例中,实时嵌入式虚拟化构件Hypervisor提供一层中间地址,这种中间地址以影子页表来管理;由Guest OS建立Guest OS至中间地址的映射以及Hypervisor建立中间地址至物理内存地址的映射,这里将Guest OS至中间地址的映射称为第一层地址映射,将中间地址至物理内存地址的映射称为第二层地址映射。第一层地址映射的作用在于实时嵌入式虚拟化构件Hypervisor可以感知实时嵌入式虚拟化构件Hypervisor之上所有Guest OS对物理内存的需求并统一管理,第二层地址映射的作用在于实时嵌入式虚拟化构件Hypervisor可以根据Guest OS对物理内存的需求,有规划性地划分物理内存资源。Unlike the prior art that disables interrupts through the communication method of interrupt notification (Hyper Call), in the embodiment of the present invention, the real-time embedded virtualization component Hypervisor provides a layer of intermediate addresses, and this intermediate address is managed by a shadow page table; The Guest OS establishes the mapping from the Guest OS to the intermediate address and the Hypervisor establishes the mapping from the intermediate address to the physical memory address. Here, the mapping from the Guest OS to the intermediate address is called the first layer address mapping, and the mapping from the intermediate address to the physical memory address is called Layer 2 address mapping. The role of the first layer of address mapping is that the real-time embedded virtualization component Hypervisor can perceive the physical memory requirements of all Guest OSs on the real-time embedded virtualization component Hypervisor and manage them uniformly. The role of the second layer of address mapping is that the real-time embedded The component hypervisor can divide physical memory resources in a planned way according to the physical memory requirements of the Guest OS.

建立了第一层地址映射和第二层地址映射之后,可以建立实时嵌入式虚拟化构件Hypervisor与至少一个Guest OS共享并用于记录中断标志的物理内存。在以下的说明中,为了描述的方便,将实时嵌入式虚拟化构件Hypervisor与至少一个Guest OS共享并用于记录中断标志的物理内存简称为“共享内存”,显然,共享内存是物理内存的一部分。如附图3所示,是本发明实施例提供的方法中在物理内存建立了共享内存的示意图。共享内存可以被Hypervisor以及至少一个Guest OS共同访问,并且,所述共享内存中不同的Guest OS与所述Hypervisor共享的内存空间互相隔离,即共享内存中任意一个Guest OS与Hypervisor共享的内存空间和另一个Guest OS与Hypervisor共享的内存空间是互相隔离的。例如,在附图3中,Guest OS0与Hypervisor共享并用于记录中断标志的物理内存即共享内存中的“VM0中断标志位空间”、Guest OS1与Hypervisor共享并用于记录中断标志的物理内存即共享内存中的“VM1中断标志位空间”以及Guest OS2与Hypervisor共享并用于记录中断标志的物理内存即共享内存中的“VM2中断标志位空间”是互相隔离的。After the first layer address mapping and the second layer address mapping are established, the physical memory shared by the real-time embedded virtualization component Hypervisor and at least one Guest OS and used for recording interrupt flags can be established. In the following description, for the convenience of description, the physical memory shared by the real-time embedded virtualization component Hypervisor and at least one Guest OS and used to record interrupt flags is referred to as "shared memory". Obviously, the shared memory is a part of the physical memory. As shown in FIG. 3 , it is a schematic diagram of establishing a shared memory in the physical memory in the method provided by the embodiment of the present invention. The shared memory can be jointly accessed by the Hypervisor and at least one Guest OS, and the memory spaces shared by different Guest OSs and the Hypervisor in the shared memory are isolated from each other, that is, the memory space shared by any Guest OS and the Hypervisor in the shared memory and The memory space shared by another Guest OS and Hypervisor is isolated from each other. For example, in accompanying drawing 3, the physical memory that Guest OS 0 shares with Hypervisor and is used for recording interrupt flag is " VM 0 interrupt flag bit space " in the shared memory, Guest OS 1 shares with Hypervisor and is used for recording the physical memory of interrupt flag That is, the "VM 1 interrupt flag space" in the shared memory and the physical memory shared by the Guest OS 2 and the Hypervisor for recording interrupt flags, that is, the "VM 2 interrupt flag space" in the shared memory, are isolated from each other.

作为本发明一个实施例,向虚拟化操作系统Guest OS提供接口以使所述Guest OS调用所述接口将共享内存中与所述Guest OS对应的中断标志位寄存器设置中断标志可以是:实时嵌入式虚拟化构件Hypervisor向Guest OS提供接口以使所述Guest OS调用所述接口,根据所述接口提供的中间地址信息,通过第一层地址映射访问中间地址,根据所述中间地址并通过第二层地址映射访问所述共享内存,将与所述Guest OS对应的中断标志位寄存器设置中断标志,例如,使用逻辑“0”表示关闭中断,使用逻辑“1”表示打开中断。需要说明的是,由于实时嵌入式虚拟化构件Hypervisor建立了第一层地址映射和第二层地址映射,因此,Guest OS在设置中断标志时,虽然是通过前述第一层地址映射和实时嵌入式虚拟化构件Hypervisor提供的接口访问中间地址,然后,通过第二层地址映射最终访问到共享内存,但在系统运行过程中,对Guest OS而言,与直接访问共享内存并没有不同,即Guest OS认为是直接访问共享内存,将与该Guest OS对应的中断标志位寄存器设置中断标志。As an embodiment of the present invention, providing an interface to the virtualized operating system Guest OS so that the Guest OS calls the interface will set the interrupt flag in the shared memory corresponding to the Guest OS interrupt flag bit register can be: real-time embedded The virtualization component Hypervisor provides an interface to the Guest OS so that the Guest OS calls the interface, accesses the intermediate address through the first layer address mapping according to the intermediate address information provided by the interface, and accesses the intermediate address through the second layer according to the intermediate address. The address mapping accesses the shared memory, and the interrupt flag bit register corresponding to the Guest OS is set with an interrupt flag, for example, using a logic "0" to indicate that the interrupt is turned off, and using a logic "1" to indicate that the interrupt is turned on. It should be noted that since the real-time embedded virtualization component Hypervisor establishes the first-level address mapping and the second-level address mapping, when the Guest OS sets the interrupt flag, although the aforementioned first-level address mapping and real-time embedded The interface provided by the virtualization component Hypervisor accesses the intermediate address, and then finally accesses the shared memory through the second-layer address mapping. However, during the operation of the system, for the Guest OS, it is no different from directly accessing the shared memory, that is, the Guest OS It is considered to directly access the shared memory, and the interrupt flag register corresponding to the Guest OS is set to the interrupt flag.

S102,检查所述中断标志位寄存器。S102. Check the interrupt flag bit register.

作为本发明一个实施例,检查所述中断标志位寄存器时,可以是执行异常向量指定的异常处理函数以检查所述中断标志位寄存器。具体地,硬件产生的物理中断,例如,通用物理中断或快速物理中断等首先通过GIC路由到物理核,物理核上运行Hypervisor程序,然后进入到Hypervisor的异常向量表,并跳转到Hypervisor的异常向量指定的异常处理函数,在Hypervisor的中断处理过程中检查中断标志位寄存器的内容。As an embodiment of the present invention, when checking the interrupt flag register, an exception handling function specified by an exception vector may be executed to check the interrupt flag register. Specifically, physical interrupts generated by hardware, such as general-purpose physical interrupts or fast physical interrupts, are first routed to the physical core through the GIC, and the Hypervisor program runs on the physical core, then enters the hypervisor's exception vector table, and jumps to the hypervisor's exception The exception handling function specified by the vector checks the contents of the interrupt flag bit register during the Hypervisor's interrupt handling process.

在上述检查中断标志位寄存器的实施例中,可以是按照实时嵌入式虚拟化构件Hypervisor提供的时钟,周期性地轮询所述中断标志位寄存器,即主动检查所述中断标志位寄存器,也可以是在硬件产生的物理中断的触发下,检查所述中断标志位寄存器,即被动检查所述中断标志位寄存器。In the above embodiment of checking the interrupt flag register, the interrupt flag register may be periodically polled according to the clock provided by the real-time embedded virtualization component Hypervisor, that is, the interrupt flag register is actively checked, or The interrupt flag bit register is checked under the trigger of a physical interrupt generated by the hardware, that is, the interrupt flag bit register is passively checked.

S103,若所述中断标志位寄存器表明所述Guest OS需要关闭中断,则禁止向所述Guest OS发送虚拟中断。S103. If the interrupt flag bit register indicates that the Guest OS needs to disable interrupts, prohibit sending virtual interrupts to the Guest OS.

例如,若使用逻辑“0”表示关闭中断,使用逻辑“1”表示打开中断,则检查到中断标志位寄存器的内容为逻辑“0”,则禁止向所述Guest OS发送硬件产生的物理中断。For example, if a logic "0" is used to indicate that the interrupt is turned off, and a logic "1" is used to indicate that the interrupt is turned on, then it is checked that the content of the interrupt flag bit register is a logic "0", and the physical interruption generated by the hardware is prohibited from being sent to the Guest OS.

从上述本发明实施例提供的虚拟化系统中关闭中断的方法可知,由于实时嵌入式虚拟化构件Hypervisor向虚拟化操作系统Guest OS提供接口,所述GuestOS可以将Hypervisor与至少一个Guest OS共享并用于记录中断标志的物理内存即共享内存中与所述Guest OS对应的中断标志位寄存器设置中断标志。与现有技术通过提供中断通知的通讯方式关闭中断的方法相比,本发明实施例提供的方法不依赖Hypervisor与Guest OS共同编译,Hypervisor不需与Guest OS共享代码段;由于虚拟化层与Guest OS映像分离,对共享内存的访问通过虚拟地址进行,因此,在关闭/打开中断时速度快,系统运行效率高。It can be seen from the method for disabling interrupts in the virtualization system provided by the above-mentioned embodiments of the present invention that since the real-time embedded virtualization component Hypervisor provides an interface to the virtualization operating system Guest OS, the GuestOS can share the Hypervisor with at least one Guest OS and use it for The physical memory that records the interrupt flag is the interrupt flag bit register corresponding to the Guest OS in the shared memory to set the interrupt flag. Compared with the prior art method of closing the interrupt by providing the communication mode of the interrupt notification, the method provided by the embodiment of the present invention does not rely on the Hypervisor and the Guest OS to compile together, and the Hypervisor does not need to share code segments with the Guest OS; since the virtualization layer and the Guest OS The OS image is separated, and the access to the shared memory is performed through the virtual address. Therefore, the speed of closing/opening the interrupt is fast, and the system operation efficiency is high.

请参阅附图4,是本发明实施例提供的虚拟化系统中关闭中断的装置结构示意图。为了便于说明,仅仅示出了与本发明实施例相关的部分。附图4示例的虚拟化系统中关闭中断的装置包括接口提供模块401、标志位检查模块402和中断截止发送模块403,其中:Please refer to FIG. 4 , which is a schematic structural diagram of a device for disabling interrupts in a virtualization system provided by an embodiment of the present invention. For ease of description, only parts related to the embodiments of the present invention are shown. The device for disabling interrupts in the virtualization system illustrated in Figure 4 includes an interface providing module 401, a flag bit checking module 402, and an interrupt cut-off sending module 403, wherein:

接口提供模块401,用于向虚拟化操作系统Guest OS提供接口以使所述Guest OS调用所述接口将共享内存中与所述Guest OS对应的中断标志位寄存器设置中断标志,所述共享内存为实时嵌入式虚拟化构件Hypervisor与至少一个Guest OS共享并用于记录中断标志的物理内存,其中,所述共享内存中不同的Guest OS与所述Hypervisor共享的内存空间互相隔离。The interface providing module 401 is used to provide an interface to the virtualized operating system Guest OS so that the Guest OS calls the interface to set an interrupt flag in the interrupt flag bit register corresponding to the Guest OS in the shared memory, and the shared memory is The real-time embedded virtualization component Hypervisor shares physical memory with at least one Guest OS and is used for recording interrupt flags, wherein different Guest OSs in the shared memory are isolated from memory spaces shared by the Hypervisor.

标志位检查模块402,用检查所述中断标志位寄存器。The flag checking module 402 is used to check the interrupt flag register.

中断截止发送模块403,用于若所述标志位检查模块402检查所述中断标志位寄存器表明所述Guest OS需要关闭中断,则禁止向所述Guest OS发送虚拟中断。The interrupt cut-off sending module 403 is configured to prohibit sending virtual interrupts to the Guest OS if the flag bit checking module 402 checks the interrupt flag bit register and indicates that the Guest OS needs to disable interrupts.

需要说明的是,以上虚拟化系统中关闭中断的装置的实施方式中,各功能模块的划分仅是举例说明,实际应用中可以根据需要,例如相应硬件的配置要求或者软件的实现的便利考虑,而将上述功能分配由不同的功能模块完成,即将所述电缆调制解调器上线装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。而且,实际应用中,本实施例中的相应的功能模块可以是由相应的硬件实现,也可以由相应的硬件执行相应的软件完成,例如,前述的接口提供模块,可以是具有执行前述向虚拟化操作系统Guest OS提供接口以使所述Guest OS调用所述接口将共享内存中与所述Guest OS对应的中断标志位寄存器设置中断标志的硬件,例如接口提供器,也可以是能够执行相应计算机程序从而完成前述功能的一般处理器或者其他硬件设备;再如前述的标志位检查模块,可以是具有执行前述检查所述中断标志位寄存器功能的硬件,例如标志位检查器,也可以是能够执行相应计算机程序从而完成前述功能的一般处理器或者其他硬件设备(本说明书提供的各个实施例都可应用上述描述原则)。It should be noted that, in the implementation of the device for disabling interrupts in the above virtualization system, the division of each functional module is only an example. In actual applications, it can be considered according to the needs, such as the configuration requirements of the corresponding hardware or the convenience of software implementation. The above-mentioned function allocation is completed by different functional modules, that is, the internal structure of the cable modem on-line device is divided into different functional modules, so as to complete all or part of the functions described above. Moreover, in practical applications, the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be completed by corresponding software executed by corresponding hardware. For example, the aforementioned interface providing module may be capable of executing the aforementioned virtual The optimized operating system Guest OS provides an interface so that the Guest OS calls the interface and sets the interrupt flag bit register corresponding to the Guest OS in the shared memory. The program thus completes the general processor or other hardware equipment of the aforementioned functions; again, the aforementioned flag bit checking module can be hardware with the function of performing the aforementioned check of the interrupt flag bit register, such as a flag bit checker, and can also be capable of executing A general processor or other hardware device with a corresponding computer program to complete the foregoing functions (the foregoing description principles can be applied to each of the embodiments provided in this specification).

附图4示例的接口提供模块401可以包括接口调用单元501和中断标志设置单元502,如附图5所示本发明另一实施例提供的虚拟化系统中关闭中断的装置,其中:The interface providing module 401 illustrated in FIG. 4 may include an interface calling unit 501 and an interrupt flag setting unit 502. As shown in FIG. 5, another embodiment of the present invention provides an apparatus for disabling interrupts in a virtualization system, wherein:

接口调用单元501,用于向虚拟化操作系统Guest OS提供接口以使所述Guest OS调用所述接口;An interface calling unit 501, configured to provide an interface to the virtualized operating system Guest OS so that the Guest OS calls the interface;

中断标志设置单元502,用于根据所述接口提供的中间地址信息,通过第一层地址映射访问中间地址,根据所述中间地址并通过第二层地址映射,将与所述Guest OS对应的中断标志位寄存器设置中断标志,所述第一层地址映射为所述Guest OS至中间地址的映射,所述第二层地址映射是所述中间地址至物理内存地址的映射,所述物理内存包括所述共享内存。The interrupt flag setting unit 502 is used for accessing the intermediate address through the first layer address mapping according to the intermediate address information provided by the interface, and interrupting the corresponding interrupt of the Guest OS according to the intermediate address and through the second layer address mapping The flag bit register sets the interrupt flag, the first layer of address mapping is the mapping of the Guest OS to the intermediate address, and the second layer of address mapping is the mapping of the intermediate address to the physical memory address, and the physical memory includes all described shared memory.

附图4或附图5示例的虚拟化系统中关闭中断的装置还可以包括映射建立模块601和共享内存建立模块602,如附图6a或附图6b所示本发明另一实施例提供的虚拟化系统中关闭中断的装置,其中:The device for disabling interrupts in the virtualization system illustrated in Fig. 4 or Fig. 5 may also include a mapping establishment module 601 and a shared memory establishment module 602, as shown in Fig. 6a or Fig. 6b, the virtualization system provided by another embodiment of the present invention A device for disabling interrupts in the system, where:

映射建立模块601,用于建立Guest OS至中间地址的映射以及所述中间地址至物理内存地址的映射。A mapping establishment module 601, configured to establish a mapping from the Guest OS to an intermediate address and a mapping from the intermediate address to a physical memory address.

共享内存建立模块602,用于建立所述共享内存,所述共享内存中不同的Guest OS与所述Hypervisor共享的内存空间互相隔离。A shared memory establishment module 602, configured to establish the shared memory, in which different Guest OSs and the memory space shared by the Hypervisor are isolated from each other.

附图4示例的标志位检查模块402可以按照实时嵌入式虚拟化构件Hypervisor提供的时钟,周期性地轮询所述中断标志位寄存器,也可以在硬件产生的物理中断的触发下,检查所述中断标志位寄存器。标志位检查模块402可以包括第一执行单元701,如附图7所示本发明另一实施例提供的虚拟化系统中关闭中断的装置,The flag checking module 402 shown in Figure 4 can periodically poll the interrupt flag register according to the clock provided by the real-time embedded virtualization component Hypervisor, or check the interrupt flag register triggered by a physical interrupt generated by the hardware. Interrupt flag bit register. The flag bit checking module 402 may include a first execution unit 701, as shown in FIG. 7, an apparatus for disabling interrupts in a virtualization system provided by another embodiment of the present invention,

执行单元701,用于执行异常向量指定的异常处理函数以检查所述中断标志位寄存器。具体地,硬件产生的物理中断,例如,通用物理中断或快速物理中断等首先通过GIC路由到物理核,物理核上运行Hypervisor程序,然后进入到Hypervisor的异常向量表,并跳转到Hypervisor的异常向量指定的异常处理函数,在Hypervisor的中断处理过程中执行单元701执行异常向量表中异常向量指定的异常处理函数以检查中断标志位寄存器的内容。The execution unit 701 is configured to execute the exception handling function specified by the exception vector to check the interrupt flag bit register. Specifically, physical interrupts generated by hardware, such as general-purpose physical interrupts or fast physical interrupts, are first routed to the physical core through the GIC, and the Hypervisor program runs on the physical core, then enters the hypervisor's exception vector table, and jumps to the hypervisor's exception The exception handling function specified by the vector, during the interrupt handling process of the Hypervisor, the execution unit 701 executes the exception handling function specified by the exception vector in the exception vector table to check the content of the interrupt flag bit register.

需要说明的是,上述装置各模块/单元之间的信息交互、执行过程等内容,由于与本发明方法实施例基于同一构思,其带来的技术效果与本发明方法实施例相同,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。It should be noted that the information interaction and execution process between the modules/units of the above-mentioned device are based on the same idea as the method embodiment of the present invention, and the technical effect it brings is the same as that of the method embodiment of the present invention. The specific content can be Refer to the descriptions in the method embodiments of the present invention, and details are not repeated here.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,比如以下各种方法的一种或多种或全部:Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, such as one or more or all of the following various methods:

向虚拟化操作系统Guest OS提供接口以使所述Guest OS调用所述接口将共享内存中与所述Guest OS对应的中断标志位寄存器设置中断标志,所述共享内存为实时嵌入式虚拟化构件Hypervisor与至少一个Guest OS共享并用于记录中断标志的物理内存;Provide an interface to the virtualization operating system Guest OS so that the Guest OS calls the interface to set an interrupt flag in the interrupt flag bit register corresponding to the Guest OS in the shared memory, and the shared memory is a real-time embedded virtualization component Hypervisor Physical memory shared with at least one Guest OS and used to record interrupt flags;

检查所述中断标志位寄存器;Check the interrupt flag bit register;

若所述中断标志位寄存器表明所述Guest OS需要关闭中断,则禁止向所述Guest OS发送虚拟中断。If the interrupt flag bit register indicates that the Guest OS needs to close the interrupt, it is prohibited to send virtual interrupts to the Guest OS.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), disk or CD, etc.

以上对本发明实施例提供的虚拟化系统中关闭中断的方法和装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and device for disabling interrupts in the virtualization system provided by the embodiments of the present invention are described above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only used to help understanding The method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be construed as a limitation of the invention.

Claims (10)

1. close the method for interruption in the virtualization system, it is characterized in that said method comprises:
To virtualizing operating systems Guest OS interface is provided so that said Guest OS call said interface with shared drive in the interrupt identification bit register corresponding with said Guest OS interrupt identification is set; Said shared drive is the physical memory that real-time embedded virtual member Hypervisor and at least one Guest OS share and be used to write down interrupt identification, and different Guest OS and the shared memory headrooms of said Hypervisor isolated mutually in the said shared drive;
Check said interrupt identification bit register;
If said interrupt flag bit register shows that said Guest OS need close interruption, then forbid sending virtual interruption to said Guest OS.
2. the method for claim 1; It is characterized in that; Said to virtualizing operating systems Guest OS interface is provided so that said Guest OS call said interface with shared drive in the interrupt identification bit register corresponding with said Guest OS interrupt identification is set, comprising:
Interface is provided so that said Guest OS calls said interface to virtualizing operating systems Guest OS;
The intermediate address information that provides according to said interface; Through ground floor map addresses visit intermediate address; Visit said shared drive according to said intermediate address and through second layer map addresses, the interrupt identification bit register corresponding with said Guest OS is provided with interrupt identification.
3. method as claimed in claim 2 is characterized in that, said to virtualizing operating systems Guest OS interface is provided so that said Guest OS with shared drive in the interrupt identification bit register corresponding with said Guest OS be provided with and also comprise before the interrupt identification:
Set up Guest OS to the mapping of intermediate address and the mapping of said intermediate address to physical memory addresses;
Set up said shared drive.
4. the method for claim 1 is characterized in that, the said interrupt identification bit register of said inspection comprises:
The clock that provides according to said Hypervisor, the periodically said interrupt identification bit register of poll; Perhaps
Under the triggering of the physical discontinuity that hardware produces, check said interrupt identification bit register.
5. method as claimed in claim 4 is characterized in that, the said interrupt identification bit register of said inspection comprises:
The abnormality processing function of execute exception vector appointment is to check said interrupt identification bit register.
6. close the device of interruption in the virtualization system, it is characterized in that said device comprises:
Interface provides module; Be used for interface being provided and interrupt identification be set so that said Guest OS calls the said interface interrupt identification bit register that shared drive is corresponding with said Guest OS to virtualizing operating systems Guest OS; Said shared drive is the physical memory that real-time embedded virtual member Hypervisor and at least one Guest OS share and be used to write down interrupt identification, and Guest OS and the shared memory headrooms of said Hypervisor different in the said shared drive are isolated mutually;
Zone bit inspection module is used to check said interrupt identification bit register;
The interrupt holdoff sending module is used for then forbidding sending virtual interruption to said Guest OS if the said interrupt flag bit register of said zone bit inspection module check shows that said Guest OS need close interruption.
7. device as claimed in claim 6 is characterized in that, said interface provides module to comprise:
The interface interchange unit is used for interface being provided so that said Guest OS calls said interface to virtualizing operating systems Guest OS;
Interrupt identification is provided with the unit; Be used for the intermediate address information that provides according to said interface; Through ground floor map addresses visit intermediate address; Visit said shared drive according to said intermediate address and through second layer map addresses, the interrupt identification bit register corresponding with said Guest OS is provided with interrupt identification.
8. like claim 6 or 7 described devices, it is characterized in that said device also comprises:
Module is set up in mapping, is used to set up Guest OS to the mapping of intermediate address and the mapping of said intermediate address to physical memory addresses;
Shared drive is set up module, is used to set up said shared drive.
9. device as claimed in claim 6 is characterized in that, the clock that said zone bit inspection module provides according to said Hypervisor, the periodically said interrupt identification bit register of poll; Perhaps
Zone bit inspection module is checked said interrupt identification bit register under the triggering of the physical discontinuity that hardware produces.
10. device as claimed in claim 9 is characterized in that, said zone bit inspection module comprises:
Performance element, the abnormality processing function that is used for the appointment of execute exception vector is to check said interrupt identification bit register.
CN201210207137.5A 2012-06-21 2012-06-21 Method and device for closing interrupt in virtualization system Active CN102799480B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210207137.5A CN102799480B (en) 2012-06-21 2012-06-21 Method and device for closing interrupt in virtualization system
PCT/CN2013/070810 WO2013189180A1 (en) 2012-06-21 2013-01-22 Method and device for disabling interruption in virtualization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210207137.5A CN102799480B (en) 2012-06-21 2012-06-21 Method and device for closing interrupt in virtualization system

Publications (2)

Publication Number Publication Date
CN102799480A true CN102799480A (en) 2012-11-28
CN102799480B CN102799480B (en) 2015-06-17

Family

ID=47198595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210207137.5A Active CN102799480B (en) 2012-06-21 2012-06-21 Method and device for closing interrupt in virtualization system

Country Status (2)

Country Link
CN (1) CN102799480B (en)
WO (1) WO2013189180A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013189180A1 (en) * 2012-06-21 2013-12-27 华为技术有限公司 Method and device for disabling interruption in virtualization system
CN111240898A (en) * 2020-01-09 2020-06-05 中瓴智行(成都)科技有限公司 Hypervisor-based black box implementation method and system
CN113961308A (en) * 2021-10-20 2022-01-21 中瓴智行(成都)科技有限公司 Hypervisor-based debugging peripheral implementation method and system
CN116382856A (en) * 2023-06-02 2023-07-04 麒麟软件有限公司 Method for enhancing system instantaneity based on virtualized nesting

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060005190A1 (en) * 2004-06-30 2006-01-05 Microsoft Corporation Systems and methods for implementing an operating system in a virtual machine environment
CN101620547A (en) * 2009-07-03 2010-01-06 中国人民解放军国防科学技术大学 Virtual physical interrupt processing method of X86 computer
CN102279769A (en) * 2011-07-08 2011-12-14 西安交通大学 Embedded-Hypervisor-oriented interruption virtualization operation method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398768B (en) * 2008-10-28 2011-06-15 北京航空航天大学 Construct method of distributed virtual machine monitor system
CN102799480B (en) * 2012-06-21 2015-06-17 华为技术有限公司 Method and device for closing interrupt in virtualization system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060005190A1 (en) * 2004-06-30 2006-01-05 Microsoft Corporation Systems and methods for implementing an operating system in a virtual machine environment
CN101620547A (en) * 2009-07-03 2010-01-06 中国人民解放军国防科学技术大学 Virtual physical interrupt processing method of X86 computer
CN102279769A (en) * 2011-07-08 2011-12-14 西安交通大学 Embedded-Hypervisor-oriented interruption virtualization operation method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013189180A1 (en) * 2012-06-21 2013-12-27 华为技术有限公司 Method and device for disabling interruption in virtualization system
CN111240898A (en) * 2020-01-09 2020-06-05 中瓴智行(成都)科技有限公司 Hypervisor-based black box implementation method and system
CN111240898B (en) * 2020-01-09 2023-08-15 中瓴智行(成都)科技有限公司 Method and system for realizing black box based on Hypervisor
CN113961308A (en) * 2021-10-20 2022-01-21 中瓴智行(成都)科技有限公司 Hypervisor-based debugging peripheral implementation method and system
CN113961308B (en) * 2021-10-20 2024-11-12 中瓴智行(成都)科技有限公司 A method and system for implementing peripheral debugging based on Hypervisor
CN116382856A (en) * 2023-06-02 2023-07-04 麒麟软件有限公司 Method for enhancing system instantaneity based on virtualized nesting
CN116382856B (en) * 2023-06-02 2023-09-26 麒麟软件有限公司 Method for enhancing system instantaneity based on virtualized nesting

Also Published As

Publication number Publication date
WO2013189180A1 (en) 2013-12-27
CN102799480B (en) 2015-06-17

Similar Documents

Publication Publication Date Title
US11347542B2 (en) Data migration method and apparatus
US10509673B2 (en) Synchronous user space function execution from a kernel context
US8181176B2 (en) Uniform storage device access using partial virtual machine executing within a secure enclave session
US9430642B2 (en) Providing virtual secure mode with different virtual trust levels each having separate memory access protections, interrupt subsystems and private processor states
US10592434B2 (en) Hypervisor-enforced self encrypting memory in computing fabric
US9864626B2 (en) Coordinating joint operation of multiple hypervisors in a computer system
US11442770B2 (en) Formally verified trusted computing base with active security and policy enforcement
KR101823888B1 (en) Multinode hubs for trusted computing
US11163597B2 (en) Persistent guest and software-defined storage in computing fabric
KR20180099682A (en) Systems and Methods for Virtual Machine Auditing
CN113391881B (en) Interrupt management method and device, electronic equipment and computer storage medium
CN103984591B (en) PCI (Peripheral Component Interconnect) device INTx interruption delivery method for computer virtualization system
JP2009506462A (en) Hierarchical virtualization using a multi-layered virtualization mechanism
MX2008014548A (en) Launching hypervisor under running operating system.
US9824225B1 (en) Protecting virtual machines processing sensitive information
US10489185B2 (en) Hypervisor-assisted approach for locating operating system data structures based on attribute matching
US20180267818A1 (en) Hypervisor-assisted approach for locating operating system data structures based on notification data
US9600314B2 (en) Scheduler limited virtual device polling
US10620985B2 (en) Transparent code patching using a hypervisor
CN102799480B (en) Method and device for closing interrupt in virtualization system
WO2022268150A1 (en) Method for communication between virtual machine and secure partition, and related device
US11513825B2 (en) System and method for implementing trusted execution environment on PCI device
US20230161650A1 (en) Method and apparatus for inter-process communication, and computer storage medium
Im et al. On-demand virtualization for live migration in bare metal cloud
CN114780209A (en) Interrupt processing method and device based on virtual machine monitor, terminal equipment and chip

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191225

Address after: Room 302, No. 8319, Yanshan Road, Bengbu City, Anhui Province

Patentee after: Bengbu Lichao Information Technology Co., Ltd

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201016

Address after: 226000 No. 998 Century Avenue, hi tech Zone, Jiangsu, Nantong

Patentee after: NANTONG HANGDA ELECTRONIC TECHNOLOGY Co.,Ltd.

Address before: Room 302, No. 8319, Yanshan Road, Bengbu City, Anhui Province

Patentee before: Bengbu Lichao Information Technology Co.,Ltd.

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载