# US 2023/0067658 A1 · System and operation method of hybrid virtual machine managers

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0067658 A1
- Document ID: US20230067658A1
- Status: Published application
- Kind: A1
- Application number: 17/901,257
- Filed: 2022-09-01
- Published: 2023-03-02
- Earliest claimed: 2021-09-02
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: YUEHUA DAI; Donghi Fan; Qing Dai
- Web page: https://patentgrep.com/patent/US20230067658A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 9/54: Interprogram communication
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2009/45591: {Monitoring or debugging support}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for operating a hybrid virtual machine manager are provided. The system includes a master virtual machine manager and one or more slave virtual machine managers, and the master virtual machine manager and the one or more slave virtual machine managers are different types of virtual machine managers The master virtual machine manager is configured to allocate a first type of hardware resource and a second type of hardware resource to the slave virtual machine manager. The first type of hardware resource is a hardware resource capable of being directly operated by the slave virtual machine manager and is used exclusively by the slave virtual machine manager it is assigned to. The second type of hardware resource is a hardware resource that is managed by the master virtual machine manager.

## Claims

### Claim 1

A hybrid virtual machine manager system, the system comprising:
a master virtual machine manager; and
one or more slave virtual machine managers, wherein the master virtual machine manager and the one or more slave virtual machine managers are of different types;
wherein the master virtual machine manager is configured to allocate a first type of hardware resource and a second type of hardware resource to the one or more slave virtual machine managers;
wherein the first type of hardware resource is a hardware resource capable of being directly operated by the one or more slave virtual machine managers, and is used exclusively by the slave virtual machine manager it is allocated to; and
wherein the second type of hardware resource is a hardware resource that is managed by the master virtual machine manager.

### Claim 2 (depends on 1)

The system according to claim 1, wherein the master virtual machine manager is configured to:
generate a resource configuration table of the first type of hardware resource to the one or more slave virtual machine managers when the master virtual machine manager is started; and
provide, to the one or more slave virtual machine managers, an interface table for requesting the second type of hardware resource.

### Claim 3 (depends on 2)

The system according to claim 2, wherein the resource configuration table includes address information for the first type of hardware resource;
and wherein when the one or more slave virtual machine managers requests the first type of hardware resource, the one or more slave virtual machine managers is configured to directly operate the requested first type of hardware resource according to the address information of the requested first type of hardware resource in the resource configuration table.

### Claim 4 (depends on 2)

The system according to claim 2, wherein the master virtual machine manager is further configured to allocate a shared memory for the master virtual machine manager and the one or more slave virtual machine managers to share event messages.

### Claim 5 (depends on 4)

The system according to claim 4, wherein, the interface table includes a reference to the second type of hardware resource and a corresponding operation interface,
when the one or more slave virtual machine managers requests the second type of hardware resource, the one or more slave virtual machine managers is further configured to call the operation interface corresponding to the requested second type of hardware resource, write an event of the requested second type of hardware resource into the shared memory, and notify the master virtual machine manager through an inter processor interrupt (IPI) message;
wherein the master virtual machine manager is further configured to receive the IPI message sent by the one or more slave virtual machine managers, read the event from the shared memory, determine the second type of hardware resource requested by the one or more slave virtual machine managers by calling the interface table of the second type of hardware resource in the master virtual machine manager based on the event, and operate the requested second type of hardware resource;
wherein_the master virtual machine manager calls the interface table, writes an event of an operation result of the requested second type of hardware resource to the shared memory, and notifies the one or more slave virtual machine managers through an IPI message;
and wherein the one or more slave virtual machine managers is further configured to receive the IPI message sent by the master virtual machine manager, read the event of the operation result from the shared memory, and call the interface table of the second type of hardware resource in the one or more slave virtual machine managers to obtain the operation result.

### Claim 6 (depends on 4)

The system according to claim 4, wherein the event messages include the operation state of the one or more slave virtual machine managers managed by the master virtual machine manager.

### Claim 7 (depends on 1)

The system according to claim 1, wherein the first type of hardware resource includes a central processing unit, a physical storage area, or other hardware resource that may be physically partitioned; and the second type of hardware resource includes an interrupt controller.

### Claim 8

A method of operating a hybrid virtual machine manager, the hybrid virtual machine manager including a master virtual machine manager and one or more slave virtual machine managers, the method including:
allocating, by the master virtual machine manager, a first type of hardware resource and a second type of hardware resource to the one or more slave virtual machine managers;
wherein the master virtual machine manager and the one or more slave virtual machine managers are types of virtual machine managers;
wherein the first type of hardware resource is a hardware resource capable of being directly operated by the one or more slave virtual machine managers and is used exclusively by the slave virtual machine manager it is allocated to;
and wherein the second type of hardware resource is a hardware resource that is managed by the master virtual machine manager.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the allocating, by the master virtual machine manager, the first type of hardware resource and the second type of hardware resource to the one or more slave virtual machine managers includes:
generating a resource configuration table of the first type of hardware resource to the one or more slave virtual machine managers when the master virtual machine manager is started; and
providing, to the one or more slave virtual machine managers, an interface table requesting the second type of hardware resource.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the resource configuration table includes a reference to the first type of hardware resource, and further includes corresponding address information for the first type of hardware resource;
wherein the method further includes: when the one or more slave virtual machine managers requests the first type of hardware resource, directly operating, by the one or more slave virtual machine managers, the requested first type of hardware resource according to the address information of the requested first type of hardware resource in the resource configuration table.

### Claim 11 (depends on 9)

The method according to claim 9, wherein the method further includes: allocating, by the master virtual machine manager, a shared memory for the master virtual machine manager and the one or more slave virtual machine managers to share event messages.

### Claim 12 (depends on 11)

The method according to claim 11, wherein, the interface table includes a reference to the second type of hardware resource and a corresponding operation interface,
wherein the method further includes:
when the one or more slave virtual machine managers requests the second type of hardware resource, calling, by the one or more slave virtual machine managers, the operation interface corresponding to the requested second type of hardware resource, writing an event of the requested second type of hardware resource into the shared memory, and notifying the master virtual machine manager through an inter processor interrupt (IPI) message;
receiving, by the master virtual machine manager, the IPI message sent by the one or more slave virtual machine managers, reading the event from the shared memory, determining the second type of hardware resource requested by the one or more slave virtual machine managers by calling the interface table of the second type of hardware resource in the master virtual machine manager based on the event, and operating the requested second type of hardware resource;
calling, by the master virtual machine manager, the interface table, writing an event of an operation result of the requested second type of hardware resource to the shared memory, and notifying the one or more slave virtual machine managers through an IPI message;
receiving, by the one or more slave virtual machine managers, the IPI message sent by the master virtual machine manager, reading the event of the operation result from the shared memory, and calling the interface table in the one or more slave virtual machine managers to obtain the operation result.

### Claim 13 (depends on 11)

The method according to claim 11, wherein the event messages include an event message with operation state information that allows the master virtual machine manager to manage an operation state of the one or more slave virtual machine managers.

### Claim 14 (depends on 8)

The method according to claim 8, wherein the first type of hardware resource includes a central processing unit, a physical storage area, or other hardware resource that may be physically partitioned; and the second type of hardware resource at least includes an interrupt controller.

### Claim 15

A computer-readable storage medium storing a computer program, which, when executed by a processor, implements a method of operating a hybrid virtual machine manager, the hybrid virtual machine manager including a master virtual machine manager and one or more slave virtual machine managers, the method including:
allocating, by the master virtual machine manager, a first type of hardware resource and a second type of hardware resource to the one or more slave virtual machine managers;
wherein the master virtual machine manager and the one or more slave virtual machine managers are different types of virtual machine managers;
wherein the first type of hardware resource is a hardware resource capable of being directly operated by the one or more slave virtual machine managers and is used exclusively by the slave virtual machine manager it is allocated to;
and wherein the second type of hardware resource is a hardware resource that is managed by the master virtual machine manager.

### Claim 16 (depends on 15)

The computer-readable storage medium of claim 15, wherein the allocating, by the master virtual machine manager, the first type of hardware resource and the second type of hardware resource to the one or more slave virtual machine managers includes;
generating a resource configuration table of the first type of hardware resource to the one or more slave virtual machine managers when the master virtual machine manager is started; and
providing, to the one or more slave virtual machine managers, an interface table requesting the second type of hardware resource.

### Claim 17 (depends on 16)

The computer-readable storage medium of claim 16, wherein the resource configuration table includes a reference to the first type of hardware resource, and further includes corresponding address information for the first type of hardware resource;
and wherein the method implemented by the computer-readable storage medium further includes, when the one or more slave virtual machine managers requests access to the first type of hardware resources, directly operating, by the one or more slave virtual machine managers, the requested first type of hardware resource according to the address information of the requested first type of hardware resource in the resource configuration table.

### Claim 18 (depends on 16)

The computer-readable storage medium of claim 16, wherein the method implemented by the computer-readable storage medium further includes:
allocating, by the master virtual machine manager, a shared memory for the master virtual machine manager and the one or more slave virtual machine managers to share event messages.

### Claim 19 (depends on 18)

The computer-readable storage medium of claim 18, wherein the interface table includes a reference to the second type of hardware resource and a corresponding operation interface,
wherein the method implemented by the computer readable storage medium further includes:
when the one or more slave virtual machine managers requests the second type of hardware resource, calling, by the one or more slave virtual machine managers, the operation interface corresponding to the requested second type of hardware resource, writing an event of the requested second type of hardware resource into the shared memory, and notifying the master virtual machine manager through an inter processor interrupt (IPI) message;
receiving, by the master virtual machine manager, the IPI message sent by the one or more slave virtual machine managers, reading the event from the shared memory, determining the second type of hardware resource requested by the one or more slave virtual machine managers by calling the interface table of the second type of hardware resource in the master virtual machine manager based on the event, and operating the requested second type of hardware resource;
calling, by the master virtual machine manager, the interface table, writing an event of an operation result of the requested second type of hardware resource to the shared memory, and notifying the one or more slave virtual machine managers through an IPI message;
receiving, by the one or more slave virtual machine managers, the IPI message sent by the master virtual machine manager, reading the event of the operation result from the shared memory, and calling the interface table in the one or more slave virtual machine managers to obtain the operation result.

### Claim 20 (depends on 18)

The computer-readable storage medium of claim 18, wherein the event messages include an event message with operation state information that allows the virtual machine manager to manage an operation state of the one or more slave virtual machine managers.
