You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue tracks the addition of host resource management functionality to the libvirt-provider. This feature would enhance the capabilities of the libvirt-provider by allowing better control and allocation of host resources such as CPU, memory, NICs, SGX memory, ..., and (ephemeral) storage.
Use Case
Assign VCPU to CPU
Block CPUs
Assign NUMA nodes
Define SGX
...
Proposed changes
Extend api.Machine with needed properties eg.
type MachineSpec struct {
...
#e.g.
CpuPins map[int]int
...
}
Extend the reconciler to support the new fields
Implement a resource management component
Extend IRI if needed
Example flow
graph LR
Poollet -->|CreateMachine, Status| GRPC_Server
GRPC_Server -->|Calls| Resource_Management
GRPC_Server -->|Creates api.Machine| Store
Reconciler -->|Watches| Store
Loading
Resource Manager
The GRPC Server will call the Resource Manager (RM) in order to get information about the shared resources. The response is embedded into the api.Machine and put into the Store by the Server. The RM keeps track of the resources offered by the host and the current VMs on the host. Status requests are also answered by the RM.
Summary
This issue tracks the addition of host resource management functionality to the
libvirt-provider
. This feature would enhance the capabilities of thelibvirt-provider
by allowing better control and allocation of host resources such asCPU
,memory
,NIC
s,SGX
memory, ..., and (ephemeral) storage.Use Case
VCPU
toCPU
CPU
sNUMA
nodesSGX
Proposed changes
api.Machine
with needed properties eg.resource management
componentIRI
if neededExample flow
Resource Manager
The
GRPC Server
will call theResource Manager
(RM
) in order to get information about the shared resources. The response is embedded into theapi.Machine
and put into theStore
by theServer
. TheRM
keeps track of the resources offered by the host and the currentVM
s on the host.Status
requests are also answered by theRM
.Features
SGX
memory support #157api.Machine
#181The text was updated successfully, but these errors were encountered: